🚀🧨📝 Series of Tutorials to learn about Jetpack Compose with subjects Material Widgets, Layout, SubcomposeLayout, custom layouts, State, custom rememberable, recomposition, LaunchedEffect, side-effects, Gesture, Animation, Navigation, Canvas, UIs like whatsapp and others.
Previews cannot show toasts which causes the crash
java.lang.NullPointerException: Cannot invoke "android.app.INotificationManager.enqueueTextToast(String, android.os.IBinder, java.lang.CharSequence, int, int, android.app.ITransientNotificationCallback)" because "service" is null
at android.widget.Toast.show(Toast.java:219)
Previews cannot show toasts which causes the crash
Before
https://github.com/SmartToolFactory/Jetpack-Compose-Tutorials/assets/43310446/d77d2020-bf10-4751-ac3f-587b7bb1d832
After
https://github.com/SmartToolFactory/Jetpack-Compose-Tutorials/assets/43310446/d9b9c03a-ff7b-4f1c-bb3e-b79ca31fd81b