Skip to content

Commit e18f779

Browse files
Update README.md
1 parent c894dee commit e18f779

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,14 @@ allprojects {
3030
}
3131
}
3232
```
33-
33+
### implementation
3434
Just 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
}

0 commit comments

Comments
 (0)