Recently Android team(mainly those guys actually) had introduced androidx.core:core-ktx:1.0.0
.
I've added it to mine project :
implementation 'androidx.core:core-ktx:1.0.0'
Everything looks cool, despite few moments - I can't find the toast()
method. After few minutes of research I've found that androidx.core.widget
package isn't anymore present within the ktx lib. There is nothing about it mentioned inside Changelog file. That's kind of strange, cause it was there within androidx.core:core-ktx:1.0.0-alpha1
version.
BTW the same strange behaviour applies to
As usual after few hours of playing with Android Studio(using diff lib versions and invalidating cache) things went back to normal. Problem with styles isn't valid anymore.com.google.android.material:material:1.0.0
where in beta01
I was able to use MaterialComponents
-styles and in the release version Android Studio isn't able to resolve them.
Soooo, the question is:
What was done? Do we have any up to date doc describing all relevant changes?
KTX
buttoast()
seems coming from anko which I had to add anko in my project. However,where in beta01 I was able to use MaterialComponents
now you can't use it or what, what have you tried? Would you describe the issue more? – Dihedron