-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
My understanding is that this method will often be called either on fragments, and using the fragment's activity. So it seems to make sense to simplify it, ensuring that we avoid a parameter that will probably never change. Actually, since activities are also LifecycleOwner, it may be possible to ensure this method is even simpler, by defining it on activities instead of defining it on LifecycleOwner. Unless we have a reason to use an activity distinct from the LifecycleOwner. Also cleaning from function I viewed at the same time
- Loading branch information
1 parent
e701342
commit 87ae4d3
Showing
4 changed files
with
36 additions
and
58 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
54 changes: 0 additions & 54 deletions
54
AnkiDroid/src/main/java/com/ichi2/async/CoroutineHelpers.kt
This file was deleted.
Oops, something went wrong.