-
Notifications
You must be signed in to change notification settings - Fork 521
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
Fixs #654: Add Navigation Drawer Icon Topic #741
Fixs #654: Add Navigation Drawer Icon Topic #741
Conversation
Sync forked repository
@rt4914 I still have to make changes to the test cases. But could you just confirm if the implementation of the listener is correct |
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.
PTAL
@PrarabdhGarg Tabs are not visible in current implementation. |
@rt4914 I am unable to find the error in my present code. Could you suggest what could be a possible reason for this error? |
@rt4914 I have made the changes |
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.
Looks good, some nit changes and suggestion on test cases.
app/src/main/java/org/oppia/app/topic/TopicActivityPresenter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/topic/TopicActivityPresenter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/topic/TopicFragmentPresenter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/topic/TopicFragmentPresenter.kt
Outdated
Show resolved
Hide resolved
@PrarabdhGarg If you still. busy. maybe we can close this issue so that someone else can work on this? |
@rt4914 I will finish this by today |
… fix-654-nav-drawer-icon-topic
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.
If you notice correctly, the navigation drawer is not showing any profile name.
This is because of the fact that the internalProfileId
is not getting passed correctly in NavigationDrawerFragment
.
This can be solved by change doing following steps in TopicActivity
Remove TOPIC_ACTIVITY_INTERNAL_PROFILE_ID_ARGUMENT_KEY
and replace it with KEY_NAVIGATION_PROFILE_ID
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.
PTAL
app/src/main/java/org/oppia/app/topic/TopicActivityPresenter.kt
Outdated
Show resolved
Hide resolved
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.
LGTM, thanks.
Explanation
Fixes #654
Checklist