-
Notifications
You must be signed in to change notification settings - Fork 528
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
Enable Dagger graph access for BindableAdapter #2658
Comments
@anandwana001 @BenHenning |
@BenHenning |
Assigning to @Sparsh1212 as he has asked it earlier. |
Okay thankyou. I will start working on this ASAP. |
@anandwana001 I tried working hard on this but I am facing some trouble understanding this, so that might take some more time. So, if it is urgent, then you can assign this to any other contributor. |
…n on initial click oppia#2658.
…rovide Adapter through injection for isuue oppia#2658.
…and MultiTypeBuilder (#4412) * Replace builder() with Factory in SingleTypeBuilder and MultiTypeBuilder. * Fix failing tests after refactor, Create Fragment for DragDropTestActivity.kt. * Inject the BindableAdapter.kt factory into the fragment and listview instances. * Inject the BindableAdapter.kt factory into the fragment and listview instances. * Inject the BindableAdapter.kt factory into the fragment and listview instances. * Inject the BindableAdapter.kt factory into the fragment and listview instances. * Add 'androidx.work:work-testing:2.4.0' in androidTestImplementation to fix tests. * Fix lint formatting issue in updated files. * Fix some of the failing tests after fixing #2658. * Fix some of the failing tests after fixing #2658. * Fix more failing tests for #2658. * Refactor StatePlayerRecyclerViewAssembler.kt to inject MultiTypeAdapterFactory * Fix failing tests due to missed refactor of QuestionPlayerFragmentPresenter.kt to inject MultiTypeAdapter Factory. * More updates as part of refactoring for issue #2658. * Refactor PromotedStoryListView.kt BindableAdapterTest.kt classes to provide Adapter through injection for isuue #2658. * Fix issues as advised by code review. * Fix issue causing some of failing tests. * Fix issue causing some of failing tests. * Revert unused resources, to fix Static check test failure. * Add KDocs to implemented public functions, to fix KDocs Static check test failure. * Add exemption for test to DragDropTestFragmentPresenter and DragDropTestFragment since they are actual test classes. * Fix nits and updates as advised during code review. * Fix nits and updates as advised during code review. * Fix nits and updates as advised during code review. * Updates issues as advised on code review, fix some of the failing tests. * Fix failing tests. * Fix more failing tests by reverting DragDropSortInteractionView.kt and SelectionInteractionView.kt to initial state. * Update multiple field namings for consistency as advised by code reviewer. * Fix failing tests and revert from previous fix, which could not be used in alpha. * Fix out-of-order binding for selection, drop/drop. * Post-merge fixes. Mainly, this fixing previous code as well as image region selection (which whose breakage could only be detected via manually playing the image region selection and by running the interaction's corresponding test suite on Espresso, both of which caught different sets of issues). The PR includes some cleanup work as well. * Fix lint issues after resolving merge conflicts on CI and add lessons_chapter_view.xml which is not available on my branch even after several sync's causing build errors. * Revert deleted deltas. * Remove lessons_chapter_view.xml since it is no longer required. Co-authored-by: Ben Henning <[email protected]>
) * Fix #4186 Uncheck all selection on developer options not working * Fix #4186 Add changes to code as suggested on code review. * Fix #4186 Undo changes on line wrap as advised by code reviewer. * Add tests for #4186. * Add tests for #4186, Undo changes on build.gradle. * Update and makes changes as advised by code reviewer. * Update test names to deselect from unselect. * Fix broken tests after update. * Move the 'scrollToPosition' call inside of 'verifyItemCheckedOnRecyclerViewItemAtPosition', to reduce boilerplate code. * Add changes to run tests directly by removing unnecessary verification on initial click #2658. * Updates tests and fix missed issues supposed to be updated. * Update tests to assert if Checkbox is actually Unchecked after unchecking. * Add testCoroutinesDispatchers.runCurrent() line to avoid MarkChaptersCompletedFragmentTest.kt deselectsAllChapters test from failing. * Fix lint failing test, after update. * Fix broken view models. Co-authored-by: Ben Henning <[email protected]>
BindableAdapters are created using one of two builders (single type & multi type), each of which has its own
newBuilder
function:However, there are two drawbacks to this approach:
This issue is tracking:
newBuilder
functions since they've been functionally replaced with a factoryThe text was updated successfully, but these errors were encountered: