Closed rkrater closed 7 years ago
The sample alp is a work in Progress. There should be a taskDao.getTasks() method to load the list of tasks.
Basically do the same as you would do with Model-View-Presenter or Model-View-Intent but except that a Conductor Controller is the View instead of Activity or Fragment.
Rob Krater notifications@github.com schrieb am Mi., 8. Feb. 2017, 18:20:
I'm new to Mosby, Conductor and SQLBrite and looking at the sample app to understand everything...
In CreateTaskPresenterthe function saveTask() is empty. What is the best way to save the task to the database?
I see dao: TaskDao passed in and can call dao.createTask() but what's the correct way to access the task's data?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sockeqwe/mosby-conductor/issues/16, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjnrm5q91yqV_rsjjcCSD_VcKgg49ueks5rafligaJpZM4L7Gxx .
I'm new to Mosby, Conductor and SQLBrite and looking at the sample app to understand everything...
In
CreateTaskPresenter
the functionsaveTask()
is empty. What is the best way to save the task to the database?I see
dao: TaskDao
passed in and can calldao.createTask()
but what's the correct way to access the task's data?