AndroidLibs contains simple and common utils class. It contains more common utils like text, toast, alert dialog etc,.
minSdkVersion 17
Step 1. Add the JitPack repository to your build file Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
compile 'com.github.thapovanandroid:AndroidLibs:1.0.1'
}
Its realy very simple
ToastUtil.showToast(context, message);
TextUtil.cleanupString(string);
TextUtil.isValidString(string);
DialogUtil.showAlert(context, title, message);
DialogUtil.showAlertAndFinish(context, title, message);
DialogUtil.showYesDialogWithListener(Activity activity,
String title,
String message,
String okBtn,
DialogInterface.OnClickListener listener);
Thapovan Android Team - Thapovan Info Systems Inc
This project is licensed under the MIT License.