All Utility functions in one library
Add this in your project level build.gradle
file :
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
Add this to your module's build.gradle
file :
dependencies {
...
implementation 'com.github.SoumikBhatt:Utills:1.0.1'
}
After adding the dependency, you can start using various Utils
straight way.
To use Share Util :
Utills.share(yourContext,"subject","message","chooser title")
To use Feedback Util :
Utills.feedback(yourContext,"email_id of reciever","subject","message")
To use Rating (on Play store) Util :
Utills.rateApp(yourContext)
To use FB Like Util :
Utills.likeOnFB(yourContext,"pageID","pageUserName")