Skip to content
View gmk57's full-sized avatar

Block or report gmk57

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Kotlin delegates for Android View Bi... Kotlin delegates for Android View Binding with usage examples
    1
    import android.view.LayoutInflater
    2
    import android.view.View
    3
    import android.view.ViewGroup
    4
    import androidx.appcompat.app.AppCompatActivity
    5
    import androidx.fragment.app.DialogFragment
  2. 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
     */
  3. 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
     *
  4. 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
     */
  5. FloatingView FloatingView Public

    Forked from recruit-lifestyle/FloatingView

    Java 1

  6. mvvm-examples mvvm-examples Public

    Forked from erdo/android-fore

    Various approaches to writing declarative & reactive view layer on Android

    Kotlin 6