File tree Expand file tree Collapse file tree
src/main/java/com/developer/kalert/alert Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ dependencies {
4343 debugImplementation ' com.squareup.leakcanary:leakcanary-android:2.14'
4444
4545 implementation project(' :library' )
46+ implementation ' io.github.tutorialsandroid:toastlibrary:3.0.11'
4647}
4748java {
4849 toolchain {
Original file line number Diff line number Diff line change 1313import androidx .appcompat .app .AppCompatActivity ;
1414import androidx .core .content .ContextCompat ;
1515
16+ import com .app .toastlibrary .ToastLib ;
1617import com .developer .kalert .KAlertDialog ;
1718
1819public class SampleActivity extends AppCompatActivity implements View .OnClickListener {
@@ -27,6 +28,8 @@ protected void onCreate(Bundle savedInstanceState) {
2728 super .onCreate (savedInstanceState );
2829 setContentView (R .layout .sample_activity );
2930
31+ ToastLib .success (this , "Welcome!" );
32+
3033 bindClick (R .id .btn_modern_success );
3134 bindClick (R .id .btn_custom_appearance );
3235 bindClick (R .id .btn_font_weight );
You can’t perform that action at this time.
0 commit comments