如何使用android.support.transition
How to use android.support.transition
Google 刚刚发布了 android.support.transition,它为其转换框架提供了反向移植。但是我找不到 class ,任何 link 到 gradle 或 maven?
https://developer.android.com/reference/android/support/transition/package-summary.html
我解决了
build.gradle:
compile 'com.android.support:transition:24.2.0'
此转换支持实际上仅适用于视图级别,不适用于片段或活动。
https://github.com/XinyueZ/AndroidTransitionExample
试试这个作为 Google 的转换支持库的示例。
打开 SDK 管理器 -> 切换到 SDK 工具 选项卡,并更新您的 Android SDK平台工具 和Android SDK 工具.
然后同步您的项目。
我正在使用 react-native 并通过以下方式解决此问题:npx jetify
在根文件夹上。
Google 刚刚发布了 android.support.transition,它为其转换框架提供了反向移植。但是我找不到 class ,任何 link 到 gradle 或 maven?
https://developer.android.com/reference/android/support/transition/package-summary.html
我解决了
build.gradle:
compile 'com.android.support:transition:24.2.0'
此转换支持实际上仅适用于视图级别,不适用于片段或活动。
https://github.com/XinyueZ/AndroidTransitionExample
试试这个作为 Google 的转换支持库的示例。
打开 SDK 管理器 -> 切换到 SDK 工具 选项卡,并更新您的 Android SDK平台工具 和Android SDK 工具.
然后同步您的项目。
我正在使用 react-native 并通过以下方式解决此问题:npx jetify
在根文件夹上。