/android-test

Android Trends

Primary LanguageKotlin

Android Trendings

Livedata + viewmodel + retrofit (all together)
Lottie animations
CoordinatorLayout, ConstraintLayout

device

Network calls using view model + live data

            when (repoResource?.status) {
                Status.LOADING -> {
                    progressbar.visibility = View.VISIBLE
                }
                Status.ERROR -> {
                    progressbar.visibility = View.GONE
                    showErrorDialog(errorMessage)
                }
                Status.SUCCESS -> {
                    progressbar.visibility = View.GONE
                    setRepositoryList(data)
                }
            }
        })