Closed OZ10 closed 8 years ago
Seems the 'initialise' statement is 'onCreate'. Needs further investigation.
Possible solution: http://stackoverflow.com/a/28882536/3248425
Fixed this by creating a custom list adapter which has it's own user-defined initialiser. Adapter can be initialised with an enum value which the adapter then uses to determine how to setup the view.
Create initialise statement for the Ingredients fragment. Initialise options should be:
This should allow the reuse of the Ingredients fragment in the edit recipe activity