https://kotlinlang.org logo
Title
s

Saiedmomen

12/06/2018, 8:43 PM
I've added core-ktx to my gradle but toast extension function is unresolved what am I missing?
l

leosan

12/06/2018, 9:07 PM
last time I checked they removed the toast extension
👍 1
s

Saiedmomen

12/06/2018, 9:11 PM
Why the docs aren't updated then? 😞
Is it anounced anywhere?
So I looked at the source code and widget package of ktx-core is not there anymore https://developer.android.com/reference/kotlin/androidx/core/widget/package-summary
i

igor.wojda

12/06/2018, 10:46 PM
Toasts are not recommended way of doing thing in Android as app running in background can display toast over you app leading to user confusion
s

Saiedmomen

12/07/2018, 10:17 AM
makes sense 👍