As per documentation Toast.durations.LONG means 3500(I ma not sure if it is milliseconds). But in my case Toast disappears as soon as appears. IF I give value 5000then it remains up to 2 seconds.
Duration is milliseconds or not?
IF it is milliseconds why toast disappears immediately when duration is Toast.durations.LONG(3500)
I had better result after settings the duration param to an absurde number like 1000000000
Since the used time unit is not provided in the documentation i guess it uses nanoseconds ?
This is my
Toast
configurationAs per documentation
Toast.durations.LONG
means3500
(I ma not sure if it is milliseconds). But in my case Toast disappears as soon as appears. IF I give value5000
then it remains up to2 seconds
.Toast.durations.LONG(3500)