Reputation: 441
I'm working on an android project and it requires something like the functionality found in the recycler view. However the recycler view requires android 5.0.1 API 21 which will reduce the amount of devices that can use it. I was wondering if anyone knew of any substitutions I might be able to use in lieu of the recylcer view? I've linked to a small video of what the view would be attempting to accomplish.
https://drive.google.com/open?id=0B8alYNlu3SuoSEk0bE55cDhXWVE
Upvotes: 1
Views: 8316
Reputation: 441
My dependencies were as follows:
compile 'com.android.support:cardview-v7:21.0.0-rc1'
compile 'com.android.support:recyclerview-v7:21.0.0-rc1'
They should have been:
compile 'com.android.support:cardview-v7:23.0.0'
compile 'com.android.support:recyclerview-v7:23.0.0'
Upvotes: 0
Reputation: 1007399
However the recycler view requires android 5.0.1 API 21
No, it does not. recyclerview-v7
works back to API Level 7. Hence, if you want RecyclerView
functionality, use RecyclerView
.
Upvotes: 5
Reputation: 2202
Check out the ListView
here you are few tutorials
http://developer.android.com/guide/topics/ui/layout/listview.html
http://www.vogella.com/tutorials/AndroidListView/article.html
And this one for creating custom listviews
http://www.learn2crack.com/2013/10/android-custom-listview-images-text-example.html
Upvotes: 0