2 building a base Activity
iudragon opened this issue · comments
Iu Dragon commented
-
Code that gets reused multiple times. For this we create a BaseActivity.java
-
Create Layout for BaseActivity.java
-
Parent Layout is ConstraintLayout and under that we use FrameLayout. This is where other Activity containers live.
-
We extend BaseActivity by AppCompatActivity and make it """abstract"""
-
We create RecipeListActivity.java and extend it by BaseActivity
-
RecipeListActivity.java will display list of recipes