Hello I'm Yash Thakur. I'm working as a Android Developer at Servify in Mumbai ,India.
Just contributing my part to the community by this library :)
Step 1: To Help Jump-Start Your Minimalist Journey
Gradle addons:
repositories {
maven {
url "http://dl.bintray.com/yashthakur1/maven"
}
}
Step 2: Adding Dependencies to your gradle
Dependencies addons:
compile 'org.bitroot:onestepdialog:0.2'
Step 3 (Final Step): Code Usage
Use the library simply by using the following code :
OneStepDialog.show(context, drawable, true, new OneStepDialogCallback() {
@Override
public void btnClickYes() {
OneStepDialog.dismissOneStepDialog();
}
@Override
public void btnClickNo() {
OneStepDialog.dismissOneStepDialog();
}
}, "Dialog Title", "Dialog description", "Yes", "No");
Follow the java doc in the IDE while implementing , for better understanding