File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,11 +30,14 @@ allprojects {
3030 }
3131 }
3232```
33-
33+ ### implementation
3434Just add it to your dependencies
3535```
36- implementation 'com.github.MuhammadTouseeq:MaterialHomeMenu-Library:1.0.2 '
36+ implementation 'com.github.MuhammadTouseeq:MaterialHomeMenu-Library:1.0.3 '
3737```
38+ ### For Recycleview (Optional)
39+
40+ ``` implementation 'androidx.recyclerview:recyclerview:1.0.0' ```
3841
3942### Usage
4043
@@ -50,9 +53,12 @@ Pass the ArrayList of HomeMenus
5053
5154
5255 ArrayList<HomeMenu> arrData=new ArrayList<>();
53- arrData.add(new HomeMenu().setMenuTitle("Home").setMenuDesc("Description").setMenuIcon(R.drawable.ic_home));
54- arrData.add(new HomeMenu().setMenuTitle("Settings").setMenuDesc("Description").setMenuIcon(R.drawable.ic_home));
56+ arrData.add(new HomeMenu().setMenuTitle("Home").setMenuDesc("Description").setMenuIcon(R.drawable.ic_home));
5557 arrData.add(new HomeMenu().setMenuTitle("About us").setMenuDesc("Description").setMenuIcon(R.drawable.ic_home));
58+ arrData.add(new HomeMenu().setMenuTitle("Sports").setMenuDesc("Description").setMenuIcon(R.drawable.ic_home));
59+ arrData.add(new HomeMenu().setMenuTitle("News").setMenuDesc("Description").setMenuIcon(R.drawable.ic_home));
60+ arrData.add(new HomeMenu().setMenuTitle("Help").setMenuDesc("Description").setMenuIcon(R.drawable.ic_home));
61+ arrData.add(new HomeMenu().setMenuTitle("Entertainments").setMenuDesc("Description").setMenuIcon(R.drawable.ic_home));
5662
5763 return arrData;
5864 }
You can’t perform that action at this time.
0 commit comments