Created
September 18, 2018 07:00
-
-
Save markchristopherng/9279f85714f37a6d65799a6a15666205 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PayBillViewModel : BaseViewModel() { | |
var manager: PayBillManager = PayBillManager() | |
var bills: StateLiveData<List<SavedBill>> = StateLiveData() | |
fun loadBills() { | |
manager.getAll() | |
.subscribe(bills) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment