livedata-ktx
livedata-ktx copied to clipboard
Multiple implementation issue in android studio 3.5
Overload resolution ambiguity all this function match
fun <T, R> LiveData<T>.map(mapper: (T?) -> R?): LiveData<R> = createMediator(this, MapExt<T, R>(mapper)) fun <T, R> SupportMediatorLiveData<T>.map(mapper: (T) -> R): SupportMediatorLiveData<R> = createMediator(this, MapExt<T, R>({ return@MapExt mapper(it!!)!! }))
Shows error on using map extension function chaos in choosing map function .
Hi, I can take a look this week and let you know.
Also getting this exact error.