-
Notifications
You must be signed in to change notification settings - Fork 9
Poll Functionality #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
KrishnaTech6
wants to merge
35
commits into
doubtless46:development
Choose a base branch
from
KrishnaTech6:ui_poll
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
fc28e9a
wip added ui for poll func
KrishnaTech6 163bb27
update: ui for poll create and view
KrishnaTech6 620bd64
added create poll button in ViewDoubtsFragment
KrishnaTech6 cd6d5dd
view poll vieholder added , changes in ui
KrishnaTech6 16cea41
added poll view in main feed with multiple options, poll func WIP
KrishnaTech6 742efc2
poll vote WIP
KrishnaTech6 d89d9e4
fix fatal NPE for ViewDoubtViewModel (#73)
PratthamArora a3f8688
Added icon animations to upvote and downvote icons for Doubts and Ans…
PratthamArora 7bc68f2
added create poll button in ViewDoubtsFragment
KrishnaTech6 2363a42
view poll vieholder added , changes in ui
KrishnaTech6 93c8459
added poll view in main feed with multiple options, poll func WIP
KrishnaTech6 fb31868
changes
KrishnaTech6 3935a35
changes
KrishnaTech6 9802125
fix fatal NPE for ViewDoubtViewModel (#73)
PratthamArora 2d8d6b0
automatically close keyboard after search query is submitted (#70)
PratthamArora 28c9cfb
bottom nav icons changes
aeca466
removed voting usecase from onBind
26a054f
on pressing back on bottom nav redirects to home frag
37c66c8
in app notif implemented
ae71a9e
Home Screen Filter Tags (#77)
Aditya13s 67bbafb
development 0.1.4 merge fixes (#83)
sidsharma2002 0422c05
setted up year text (#85)
sidsharma2002 ce6a871
change tag analytics name (#84)
Aditya13s ec98ead
Badge Feature (#86)
Aditya13s a11e900
fixed feed refresh issue (#87)
Aditya13s d1c5b5d
UI revamp (#88)
sidsharma2002 f6b432a
image support in doubts and static thumbnail in user-profile
7b884c3
version change
7359167
wip added ui for poll func
KrishnaTech6 72bbc3c
update: ui for poll create and view
KrishnaTech6 024151e
added create poll button in ViewDoubtsFragment
KrishnaTech6 aee9b5d
view poll vieholder added , changes in ui
KrishnaTech6 e9d058b
added poll view in main feed with multiple options, poll func WIP
KrishnaTech6 a29b47c
changes
KrishnaTech6 f3799f6
changes
KrishnaTech6 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
app/src/main/java/com/doubtless/doubtless/screens/poll/PollData.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| package com.doubtless.doubtless.screens.poll | ||
|
|
||
| data class PollData( | ||
| val id: String? = null, | ||
| val pollOptions: List<String>? = null, | ||
| val pollOptionVotes: List<String>? = null, | ||
| val totalVotes: String? = null, | ||
|
|
||
| ) |
4 changes: 4 additions & 0 deletions
4
app/src/main/java/com/doubtless/doubtless/screens/poll/PollFuncUseCase.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| package com.doubtless.doubtless.screens.poll | ||
|
|
||
| class PollFuncUseCase { | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this type buttons?