with Length
fun withLength(@IntRange(from = 0.toLong(), to = 1.toLong() ) length: Int): ToastConfigurationBuilder
Content copied to clipboard
One of {@link android.widget.Toast#LENGTH_LONG} and {@link android.widget.Toast#LENGTH_SHORT}
Since
5.0.0
Return
this instance
See also
android.widget.Toast
#makeText(Context, int, int)
Parameters
length
toast length