A talk that gets into the basics of using RxJava for observing asynchronous events including user input, network responses, and the result of database interactions.
Throwable) fun onRefreshComplete() fun onNextResponsePage(items: List<Item>) fun onNextResponsePageError(error: Throwable) fun onNextResponsePageComplete() }
val model: ItemListViewModel private val subscriptions = CompositeSubscription() private val refreshView by bindView<SwipeRefreshLayout>(R.id.swipe) private val adapter = ItemListViewAdapter(context) }
val model: ItemListViewModel private val subscriptions = CompositeSubscription() private val refreshView by bindView<SwipeRefreshLayout>(R.id.swipe) private val adapter = ItemListViewAdapter(context) }