ntoskrnl - Overview

  • 1

    fun <T, B> createJsonRpcService(service: Class<T>,

    2

                                    client: JsonRpcClient<B>,

    3

                                    resultDeserializer: Deserializer<B>,

    4

                                    logger: (String) -> Unit = {}): T {
  • 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
  • 1

    import androidx.annotation.ColorInt

    2

    import androidx.core.graphics.ColorUtils

    3

    import kotlin.math.absoluteValue
  • 1

    class PresenterRetainedFragment : Fragment() {

    3

        private val presenters = mutableMapOf<String, Any>()

    5

        private var savedState: Bundle? = null