Including recyclerview library in Eclipse project (can't see how library project will be included in my project)

I am trying to include v7 recyclerview library in my application project.
I followed the following steps https://developer.android.com/tools/support-library/setup.html#add-library

I imported the recyclerview v7 library by importing existing android code into the workspace and included the ndroid-support-v7-recyclerview.jar file in the build path.

library project
But when I try to include a library in my project after clicking the Add button, there is no library to include:

From android developer site:
Add the library to your app project:

  • In the Project Explorer, right-click the project and select Properties.

  • In the category pane on the left side of the dialog, select Android.

  • In the Library panel, click the Add button.
  • Select your library project and click OK. For example, the appcompat project should be listed as supporting android-support-v7-appcompat. (<- I don't see TestActivity here)
  • Click OK in the Properties window.
+3


source to share


1 answer


Make sure the recyclerview library is marked as "Library" in "Project Properties" → Android → "Library" (checked). Once it is checked, you can see it in the list when you click the Add button.



+5


source







All Articles