Answers for "kotlin toast in app only"

5

custom toast kotlin

//Add build.gradle module app
    implementation 'io.github.muddz:styleabletoast:2.4.0'
//And just use like this
StyleableToast.makeText(applicationContext,
                                "Bulunduğunuz bölgede IPV6 Kullanılmıyor !",
                                Toast.LENGTH_LONG,
                                R.style.toastinfo
                            ).show();
Posted by: Guest on September-16-2021

Browse Popular Code Answers by Language