LibreTube/app/src/main/java/com/github/libretube/ui/models
RafaRamos e31943f5ab
feat: Improve new user experience + adjust home load (#5491)
* Added necessary translations

* Added support for redirecting directly to IntentSettings

* Create HomeViewModel

* Used HomeViewModel

* Update app/src/main/java/com/github/libretube/ui/fragments/HomeFragment.kt

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>

* Update app/src/main/java/com/github/libretube/ui/fragments/HomeFragment.kt

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>

* Update app/src/main/java/com/github/libretube/ui/fragments/HomeFragment.kt

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>

* Swap elvis operator for if statement for improved readability.

* Move runSafely to separate file

* Change when statement by if statement

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>

* Format if statement

* * Remove LiveData properties;
* Change buttons style for consistency;
* Move updateIfChanged to a separate file;

---------

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
2024-01-19 16:03:17 +01:00
..
CommentsViewModel.kt refactor: remove bottom reached toast and show progress indicator instead 2023-11-27 20:23:58 +01:00
EditChannelGroupsModel.kt style: run ktlint 2023-09-13 17:50:17 +02:00
HomeViewModel.kt feat: Improve new user experience + adjust home load (#5491) 2024-01-19 16:03:17 +01:00
PlayerViewModel.kt refactor: simplify initalization of MutableLiveData in PlayerViewModel.kt 2024-01-18 17:26:47 +01:00
PlaylistViewModel.kt layout fixes 2022-11-06 16:35:36 +01:00
SearchViewModel.kt layout fixes 2022-11-06 16:35:36 +01:00
SubscriptionsViewModel.kt chore: remove unneeded type annotations 2023-08-03 14:39:35 +02:00
TrendsViewModel.kt refactor: use a view model for the trends fragment 2024-01-18 17:13:29 +01:00
WelcomeModel.kt fix: don't use dead fallback instances api anymore 2023-12-17 16:29:07 +01:00