-
Notifications
You must be signed in to change notification settings - Fork 991
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
Messages in drawer #526
Messages in drawer #526
Conversation
Yeah, I wasn't sure because we only get |
…ing test for mailbox title.
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.
Nice job, @eoji ! I just left a few comments. Let me know if you have any questions.
import com.squareup.picasso.Picasso | ||
import kotlinx.android.synthetic.main.discovery_drawer_logged_in_view.view.* | ||
|
||
class LoggedInViewHolder(@NonNull view: View, @NonNull private val delegate: Delegate) : KSViewHolder(view) { |
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.
Shouldn't this class be final
?
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.
app/src/main/java/com/kickstarter/viewmodels/DiscoveryViewModel.java
Outdated
Show resolved
Hide resolved
app/src/main/java/com/kickstarter/viewmodels/LoggedInViewHolderViewModel.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/kickstarter/viewmodels/LoggedInViewHolderViewModel.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/kickstarter/viewmodels/MessageThreadsViewModel.java
Outdated
Show resolved
Hide resolved
# Conflicts: # app/src/main/java/com/kickstarter/viewmodels/DiscoveryViewModel.java # app/src/test/java/com/kickstarter/viewmodels/DiscoveryViewModelTest.java
What ❓
Messages
to the navigation drawer in Discovery.unreadMessagesCount
> 0, we display the count to the right of the label.MessageThreadsActivity
, we addedKoalaContext.Mailbox
. Users can access their mailbox fromcreator_dashboard
,drawer
, or `profile.LoggedInViewHolder
didn't have a ViewModel so I added one so I could test!How to QA? 🤔
Messages
row is only there for logged in users.Story 📖
Trello Story
See 👀