QH

Size: a a a
QH
S
fun addedItem() {Как написать Unit для метода addedItem?
ApiRequest.getItems()
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe({
viewState.setData(it)
}, ::messages)
}
QH
fun addedItem() {Как написать Unit для метода addedItem?
ApiRequest.getItems()
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe({
viewState.setData(it)
}, ::messages)
}
S
QH
S
S
y
y
QH
S
S
j
j
android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{f97ac5c u0 com.yauheni.warofmy.Service.WsService}
j
…
//___ Zapuskaem service
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
startForegroundService(new Intent(this, WsService.class));
} else {
startService(new Intent(ListGamesActivity.this, WsService.class));
}
…
QH
СП
S
СП
…
//___ Zapuskaem service
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
startForegroundService(new Intent(this, WsService.class));
} else {
startService(new Intent(ListGamesActivity.this, WsService.class));
}
…
СП
…
//___ Zapuskaem service
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
startForegroundService(new Intent(this, WsService.class));
} else {
startService(new Intent(ListGamesActivity.this, WsService.class));
}
…