class TodoListController {

    public void observeItemHeight(View itemView) {
        itemView.getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() {
            @Override
            public void onGlobalLayout() {
                emitItemHeightIfNot(itemView);
                itemView.getViewTreeObserver().removeOnGlobalLayoutListener(this);
            }
        });
    }

    public  TodoListController(@NonNull Context context, @NonNull List<TodoItemViewModel> items,
                              @NonNull EventBus eventBus);

}