- π§π»βπ» Developing in Kotlin for Android.
- π¨ Currently working at Instacart.
- π€ Actively exploring Jetpack Compose
- Building Android app for iProxy.online
Pinned Loading
-
Retrofit-style JSON-RPC client in Ko...
Retrofit-style JSON-RPC client in Kotlin (with gson serialization/deserialization) 1fun <T, B> createJsonRpcService(service: Class<T>,
2client: JsonRpcClient<B>,
3resultDeserializer: Deserializer<B>,
4logger: (String) -> Unit = {}): T {
5 -
Listen to soft keyboard visibility i...
Listen to soft keyboard visibility in Android 1/**
2* Posts true on soft keyboard open, false on close.
3* This creates a strong reference to activity instance. Make sure to call ActivitySubscription.dispoose()
4* @param visibleThresholdDp if global activity layout changed more than by 100(default) dp
5*
-
Circular avatar placeholder with ini...
Circular avatar placeholder with initials in Jetpack Compose 1import androidx.annotation.ColorInt
2import androidx.core.graphics.ColorUtils
3import kotlin.math.absoluteValue
45@ColorInt
-
Container for presenters with persis...
Container for presenters with persistent state 1class PresenterRetainedFragment : Fragment() {
23private val presenters = mutableMapOf<String, Any>()
45private var savedState: Bundle? = null
-
Python script that converts camel ca...
Python script that converts camel case unit test names a_b_c to `a - b - c`. 1import re
2import sys
34def convert(s):
5parts = s.split('_')
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.