class HomeListPresenter implements HomeListContract.Presenter {

    @Override
    public void loadAllLists() {
        allLists = todoRepository.getAllLists();
        allLists.addChangeListener(new RealmChangeListener<RealmResults<TodoList>>() {
            @Override
            public void onChange(RealmResults<TodoList> element) {
                LogUtils.d("onChange: " + element.size());
                if (view != null) {
                    view.notifyDataChanged();
                }
            }
        });

        view.bindListData(allLists);
    }

      HomeListPresenter(TodoRepository todoRepository);

}