YM
Использую
android:background="?attr/selectableItemBackground", но цвет серый остаетсяв инете нашел способ с созданием новых тем, есть ли способ проще?
Size: a a a
YM
android:background="?attr/selectableItemBackground", но цвет серый остаетсяYM
YM
AS
Б
Z
Z
a
Z
MK
MK
BG
val subjectUnit = PublishSubject.create<Unit>()
val subjectString = PublishSubject.create<String>()
subjectUnit
.flatMap { subjectString }
.subscribe { println(it) }
subjectUnit.onNext(Unit)
subjectString.onNext("Rx")
val job = Job()
val scope = CoroutineScope(job)
val flowUnit = MutableSharedFlow<Unit>()
val flowString = MutableSharedFlow<String>()
scope.launch {
flowUnit
.flatMapLatest { flowString }
.collect { println(it) }
}
scope.launch { flowUnit.emit(Unit) }
scope.launch { flowString.emit("Coroutine") }
BG
val subjectUnit = PublishSubject.create<Unit>()
val subjectString = PublishSubject.create<String>()
subjectUnit
.flatMap { subjectString }
.subscribe { println(it) }
subjectUnit.onNext(Unit)
subjectString.onNext("Rx")
val job = Job()
val scope = CoroutineScope(job)
val flowUnit = MutableSharedFlow<Unit>()
val flowString = MutableSharedFlow<String>()
scope.launch {
flowUnit
.flatMapLatest { flowString }
.collect { println(it) }
}
scope.launch { flowUnit.emit(Unit) }
scope.launch { flowString.emit("Coroutine") }
a
DM
V
JM
val subjectUnit = PublishSubject.create<Unit>()
val subjectString = PublishSubject.create<String>()
subjectUnit
.flatMap { subjectString }
.subscribe { println(it) }
subjectUnit.onNext(Unit)
subjectString.onNext("Rx")
val job = Job()
val scope = CoroutineScope(job)
val flowUnit = MutableSharedFlow<Unit>()
val flowString = MutableSharedFlow<String>()
scope.launch {
flowUnit
.flatMapLatest { flowString }
.collect { println(it) }
}
scope.launch { flowUnit.emit(Unit) }
scope.launch { flowString.emit("Coroutine") }
scope.launchV
VT
V