Sample code using RecyclerView with a custom adapter a CardView is used to display the list item uses long and short click listeners #cardview and recyclerview these are included as libraries from the SDK extras you can delete them and install them yourself for your own projects, instructions here: select Using Eclipse http://developer.android.com/tools/support-library/setup.html#libs-with-res