-
Notifications
You must be signed in to change notification settings - Fork 533
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix part of #1633: Removed textview reference from RevisionCardViewmo…
…del (#1981) * Removed textview from RevisionCardViewmodel - Removed textview reference from RevisionCardViewModel - Removed explanationLiveData value from RevisionCardViewModel as the function that is used to get the charsequence was using view, now the code for the same is shifted to RevisionCardFragmentPresenter. So now RevisionCardViewModel expose RevisionCardLiveData and presenter observe it and then uses the HTML factory to get the char sequence and then update the textview - Removed the usage of explanation livedata from revision_card_fragment.xml * renamed setSubtopicIdAndBinding function and removed extra space & simplified view.text assignment * Used named arguments 'imageCenterAlign' to have compiler verification Co-authored-by: Ben Henning <[email protected]> Co-authored-by: Ben Henning <[email protected]>
- Loading branch information
1 parent
19faa4f
commit 1f8a133
Showing
4 changed files
with
30 additions
and
29 deletions.
There are no files selected for viewing
This file contains 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 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 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 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