Category : mediator

I want to display favored items from two tables: Item and ItemMoto. Both tables share same table Favourite. Portion of files are" FavouriteListFragment.java public class FavouriteListFragment extends PSFragment implements DataBoundListAdapter.DiffUtilDispatchedInterface { private final androidx.databinding.DataBindingComponent dataBindingComponent = new FragmentDataBindingComponent(this); private FavouriteViewModel favouriteViewModel; private FavouriteMotoViewModel favouriteViewModelMoto; @VisibleForTesting private AutoClearedValue<FragmentFavouriteListBinding> binding; private AutoClearedValue<ItemVerticalListAdapter> adapter; private AutoClearedValue<ItemAutoVerticalListAdapter> adapterMoto; @Override ..

Read more