1. You can use an interface to provide a click listener. I use this
technique with ListViews, too.
2. No divider: Simply add in your row a View with a width of
match_parent and a height of 1dp and give it a background color.
3. Simply use a StateList selector for the row background.
4. addHeaderView can be avoided in ListViews, too: simply put the
Header outside the View.
So, if efficiency is your concern, then yes, it's a good idea to replace a ListView with a RecyclerView.
**1** You can use an interface to provide a click listener. I use this technique with ListViews, too.
**2** No divider: Simply add in your row a View with a width of **match_parent** and a height of **1dp** and give it a **background color**.
**3** Simply use a StateList selector for the row background.
**4** addHeaderView can be avoided in ListViews, too: simply put the Header **outside** the View.
So, if efficiency is your concern, then **yes**, it's a good idea to replace a ListView with a RecyclerView.