Top "Kotlin-android-extensions" questions

Questions related to Kotlin Android Extensions

Kotlin synthetic in Adapter or ViewHolder

I am new in kotlin. I have found and tried to use synthetic method instead of annoying method findViewById in …

kotlin kotlin-android-extensions
kotlin mockk not answer found error

Hi i am trying to mock the response i get from a Single observable that gets returned from retrofit using …

unit-testing kotlin kotlin-android-extensions mockk
Kotlin Remove all non alphanumeric characters

I am trying to remove all non alphanumeric characters from a string. I tried using replace() with a regex as …

kotlin kotlin-android-extensions
Accidental override: The following declarations have the same JVM signature

I'm getting error in Kotlin in this part: class GitHubRepoAdapter( private val context: Context, private val values: List<GithubRepo&…

kotlin kotlin-android-extensions kotlin-extension
Programmatically inflated layout with Kotlin Android Extensions

I have a following layout: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/…

android android-layout kotlin kotlin-android-extensions
Create New Instance of Kotlin Object

I have an object QuickSort that I am attempting to create 2 instances of. When I try to create 2 separate instances …

kotlin kotlin-android-extensions kotlin-extension rx-kotlin
how to get viewModel by viewModels? (fragment-ktx)

I am working with Single viewModel for the Activity and all of it's fragment. So to initialise viewmodel if have …

android androidx android-jetpack kotlin-android-extensions android-viewmodel
Android: How to determine Network speed in android programmatically

How to show a slow internet connection to the user when the network is connected Note: Not a network type (2…

java android kotlin-android-extensions
Android Kotlin .visibility

I have this code that is supposed to make an image visible, but I don't know exactly how it's supposed …

android imageview kotlin kotlin-android-extensions