最近安卓团队(主要是guys人)推出了androidx.core:core-ktx:1.0.0
.
implementation 'androidx.core:core-ktx:1.0.0'
一切看起来都很酷,尽管有一些时刻——我找不到toast()
方法.经过几分钟的研究,我发现在ktx库中不再存在androidx.core.widget
包.这件事在Changelog file页里没有提及.这有点奇怪,因为它就在androidx.core:core-ktx:1.0.0-alpha1
版本内.
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?