Skip to content

SoumikBhatt/Utills

Repository files navigation

Utills

API

All Utility functions in one library

Prerequisites

Add this in your project level build.gradle file :

allprojects {
	repositories {
		...
		maven { url "https://jitpack.io" }
	}
}

Dependency

Add this to your module's build.gradle file :

dependencies {
	...
	implementation 'com.github.SoumikBhatt:Utills:1.0.1'
}

Usage

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")