On the Internet, everybody knows I'm a cat
Pinned Loading
-
Kotlin delegates for Android View Bi...
Kotlin delegates for Android View Binding with usage examples 1import android.view.LayoutInflater
2import android.view.View
3import android.view.ViewGroup
4import androidx.appcompat.app.AppCompatActivity
5import androidx.fragment.app.DialogFragment
-
Sending events to UI with Channel/Fl...
Sending events to UI with Channel/Flow + custom collector (see my first comment for reasons behind it) 1/**
2* Starts collecting a flow when the lifecycle is started, and **cancels** the collection on stop.
3* This is different from `lifecycleScope.launchWhenStarted { flow.collect{...} }`, in which case
4* the coroutine is just suspended on stop.
5*/
-
Coroutine-based solution for delayed...
Coroutine-based solution for delayed and periodic work 1/**
2* Coroutine-based solution for delayed and periodic work. May fire once (if [interval] omitted)
3* or periodically ([startDelay] defaults to [interval] in this case), replacing both
4* `Observable.timer()` & `Observable.interval()` from RxJava.
5*
-
Coroutine-based solution for retries...
Coroutine-based solution for retries with delay 1/**
2* Analogue of [runCatching] with retry, delay & logging added.
3* Re-throws CancellationException to avoid the need to explicitly skip it in [onFailure].
4* Intervals are calculated since previous failure.
5*/
-
-
mvvm-examples
mvvm-examples PublicForked from erdo/android-fore
Various approaches to writing declarative & reactive view layer on Android
Kotlin 6
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.