gpt4 book ai didi

android - 在 Eclipse 中使用 Android 5.0 版本的 CardView

转载 作者:太空宇宙 更新时间:2023-11-03 11:57:12 26 4
gpt4 key购买 nike

即使在 5.0 SDK 版本中,为了在 Eclipse 中使用 CardView 和 RecyclerView 库,是否仍然需要以前发布的 hack?

http://happilycoded.com/blog/using-recyclerview-and-cardview-in-eclipse-adt/

(事实上,这个似乎不再起作用了,因为 m2repository 已经不存在了)

在 Eclipse 中使用这些库的最简单方法是什么?

编辑:

在 Eclipse 中:

“File->Import->Existing Projects into Workspace”只列出

v7-appcompat、v7-gridlayout、v7-mediarouter、v7-palette

最佳答案

Are the hacks posted previously still needed in order to use the CardView and RecyclerView libraries in Eclipse even with the 5.0 SDK release?

没有。您将在 Android SDK 安装的 extras/android/support/v7/ 目录中找到 recyclerviewcardview Android 库项目,假设您与来自 SDK 管理器的那些是最新的。这些应该可以导入到 Eclipse 中,此时您可以像引用任何其他 Android 库项目一样从您的应用程序中引用它们。

关于android - 在 Eclipse 中使用 Android 5.0 版本的 CardView,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26442339/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com