Skip to content
This repository was archived by the owner on Feb 6, 2021. It is now read-only.

Commit b483f17

Browse files
authored
Update README.md
1 parent f3f53c1 commit b483f17

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
11
# ViewBinding Library
2+
![JitPack](https://img.shields.io/jitpack/v/github/abhinav78910/ViewBinding_Library?style=for-the-badge)
3+
![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/abhinav78910/ViewBinding_Library?style=for-the-badge)
4+
25
This library helps to reduce the boilerplate code in initializing activities and fragments using ViewBinding. With this library you can initialize fragments, activities with a single line of code and can use the reference anywhere in the file.
36

47
## Installation
58

69
- Add the Jitpack.io dependency in project level gradle file
710

811
```gradle
9-
allprojects {
10-
repositories {
11-
...
12-
maven { url 'https://jitpack.io' }
13-
}
12+
allprojects {
13+
repositories {
14+
...
15+
maven { url 'https://jitpack.io' }
1416
}
17+
}
1518
```
1619

1720
- Add `ViewBinding_Library` dependency in app level gradle file (Replace `Tag` with latest release)
1821

1922
```gradle
20-
dependencies {
21-
implementation 'com.github.abhinav78910:ViewBinding_Library:Tag'
22-
}
23+
dependencies {
24+
implementation 'com.github.abhinav78910:ViewBinding_Library:Tag'
25+
}
2326
```
2427

2528
### Using ViewBinding_Library into your Android Project

0 commit comments

Comments
 (0)