Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using CardView in Android 5.0 release in Eclipse

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?

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

(In fact, this one no longer seems to work because the m2repository no longer exists)

What's the easiest way to use these libraries in Eclipse?

EDIT:

In Eclipse:

"File->Import->Existing Projects into Workspace" only lists

v7-appcompat, v7-gridlayout, v7-mediarouter, v7-palette

like image 310
Alchete Avatar asked Jun 27 '26 18:06

Alchete


1 Answers

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?

No. You will find recyclerview and cardview Android library projects in the extras/android/support/v7/ directory in your Android SDK installation, assuming that you are up-to-date on those from the SDK Manager. Those should be importable into Eclipse, at which point you would reference them from your app as you would any other Android library project.

like image 182
CommonsWare Avatar answered Jun 29 '26 08:06

CommonsWare



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!