<Two consecutive Toast messages won't show when th...
# stackoverflow
u
Two consecutive Toast messages won't show when they are in activity life-cycle methods The following code properly shows two consecutive messages on devices running Android version lower than 27, but on Android version 27, it just shows the message of the first Toast. What has changed in Android 27 that makes it behave differently? Should two consecutive Toast messages have gap longer than specific time? override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) Toast.makeText(this, "The...