Answers for "android toast kotlin example"

3

toast in kotlin

Toast.makeText(applicationContext, "Hello", Toast.LENGTH_LONG).show()
Posted by: Guest on November-02-2020
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
-1

kotlin toast.maketext

Toast.makeText(this, ".....", Toast.LENGTH_SHORT).show
Posted by: Guest on October-19-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language