"# SnackyMessages"
Customized Snackbar messages messages and action
maven { url 'https://jitpack.io' }
implementation 'com.github.Ayan4044:Snacky:0.0.8'
val snacky=SnackyMessages()
snacky.ShowSnackBarEror(this,"Something went wrong",R.id.mainlayout)
snacky.SnackbarActionActivity(this,"Message",R.id.mainlayout,"Retry",object:SnackyMessages.ExecuteFunction{
override fun execute() {
calculateTip();
}
})
snacky.ShowSnackbarSuccessLite(fragmentFeedbackView,"Feedback Submitted!!",R.id.feedback_fragment)
snackyMessages.SnackbarActionActivity(this, "Something went wrong", R.id.mainlayout, "Retry", new SnackyMessages.ExecuteFunction() {
@Override
public void execute() {
onBackPressed();
}
});
snackyMessages.ShowSnackBarEror(fragmentFormTwoView,"Please Select a Blood Group",R.id.fragmentRequest)