alerter for java

Solutions on MaxInterview for alerter for java by the best coders in the world

showing results for - "alerter for java"
Martina
12 Mar 2020
1implementation 'com.tapadoo.android:alerter:2.0.4'
2  
3  Alerter.create(BaseActivity.this)
4                .setTitle("Alert Title")
5                .setText("Alert Text")
6                .setIcon(R.drawable.ic_twotone_notifications_active_24)
7                .setBackgroundColorRes(R.color.colorAccent)
8                .setDuration(5000)
9                .enableSwipeToDismiss() //seems to not work well with OnClickListener
10                .enableProgress(true)
11                .setProgressColorRes(R.color.colorPrimary)
12                .show();