Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

implementation 'com.github.jakepurple13.HelpfulTools:flowutils:{version}'

This acts like an Rx PublishSubject but uses Flow.

val item = FlowItem(4)
item.setValue(5)
item.collectOnUI { println(it) }
item(6)
val num: Int = item()

These are just like RxBindings.

view.clicks().collectOnUi { println("Button was pressed") }