-
Notifications
You must be signed in to change notification settings - Fork 529
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
Fixes #3095, #2824: Use protos with intent extras in RecentlyPlayedActivity #4511
Fixes #3095, #2824: Use protos with intent extras in RecentlyPlayedActivity #4511
Conversation
app/src/main/java/org/oppia/android/app/application/ApplicationComponent.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.
PTAL
@vrajdesai78 I believe your Dagger error is coming from the fact that you're using |
Thanks @BenHenning, I have replaced @BINDS with @provides and now error is solved. |
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.
@vrajdesai78 In source
activity i.e., HomeActivity
or ProfileProgressActivity
please add tests showing that intents are getting passed correctly for the RecentlyPlayedActivity
app/src/main/java/org/oppia/android/app/home/recentlyplayed/RecentlyPlayedFragmentPresenter.kt
Show resolved
Hide resolved
app/src/main/java/org/oppia/android/app/home/recentlyplayed/RecentlyPlayedActivityPresenter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/android/app/home/recentlyplayed/RecentlyPlayedActivityPresenter.kt
Show resolved
Hide resolved
app/src/main/java/org/oppia/android/app/profileprogress/ProfileProgressActivity.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/android/app/profileprogress/ProfileProgressHeaderViewModel.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/android/app/activity/route/RouteRule.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.
Thanks @vrajdesai78. Took another pass--PTAL.
app/src/main/java/org/oppia/android/app/activity/route/ActivityRouter.kt
Outdated
Show resolved
Hide resolved
app/src/test/java/org/oppia/android/app/activity/route/ActivityRouterModuleTest.kt
Outdated
Show resolved
Hide resolved
app/src/test/java/org/oppia/android/app/activity/route/ActivityRouterModuleTest.kt
Outdated
Show resolved
Hide resolved
app/src/test/java/org/oppia/android/app/activity/route/ActivityRouterModuleTest.kt
Outdated
Show resolved
Hide resolved
app/src/test/java/org/oppia/android/app/activity/route/ActivityRouterModuleTest.kt
Outdated
Show resolved
Hide resolved
app/src/test/java/org/oppia/android/app/activity/route/ActivityRouterModuleTest.kt
Outdated
Show resolved
Hide resolved
app/src/test/java/org/oppia/android/app/activity/route/ActivityRouterTest.kt
Outdated
Show resolved
Hide resolved
app/src/test/java/org/oppia/android/app/activity/route/ActivityRouterTest.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.
Thanks @vrajdesai78. Just had 2 follow-up comments, and per chat CI is failing & needs to be fixed.
app/src/test/java/org/oppia/android/app/activity/route/ActivityRouterModuleTest.kt
Outdated
Show resolved
Hide resolved
app/src/sharedTest/java/org/oppia/android/app/profileprogress/ProfileProgressFragmentTest.kt
Show resolved
Hide resolved
Followed up on your comments and fixed failing CI checks. Still I didn't find a good name for tests in ProfileProgressFragmentTest which fits in character limit |
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.
Thanks @vrajdesai78. Just had a couple of follow-ups--PTAL.
app/src/main/java/org/oppia/android/app/activity/route/ActivityRouter.kt
Outdated
Show resolved
Hide resolved
app/src/sharedTest/java/org/oppia/android/app/profileprogress/ProfileProgressFragmentTest.kt
Outdated
Show resolved
Hide resolved
app/src/sharedTest/java/org/oppia/android/app/profileprogress/ProfileProgressFragmentTest.kt
Show resolved
Hide resolved
…ProfileProgressFragmentTest.kt Co-authored-by: Ben Henning <[email protected]>
…rogress/ProfileProgressFragmentTest.kt" This reverts commit 3c141fb.
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.
@vrajdesai78 PTAL at follow-up comment.
app/src/sharedTest/java/org/oppia/android/app/profileprogress/ProfileProgressFragmentTest.kt
Show resolved
Hide resolved
app/src/main/java/org/oppia/android/app/activity/route/ActivityRouter.kt
Outdated
Show resolved
Hide resolved
@BenHenning, updated |
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.
Thanks @vrajdesai78. This LGTM.
Explanation
Fixes #3095
Fixes #2824
Added RecentlyPlayedActivityParams and DestinationScreen proto.
Essential Checklist
Video
recently_played.mp4