use of org.robobinding.gallery.presentationmodel.FragmentDemoPresentationModel in project RoboBinding-gallery by RoboBinding.
the class FragmentDemo method onCreate.
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
int productIndex = getArguments().getInt(EXTRA_PRODUCT_INDEX);
Product product = MemoryProductStore.getInstance().getByIndex(productIndex);
presentationModel = new FragmentDemoPresentationModel(product);
}
Aggregations