Android RecyclerView doesn't come with the Item Click Listener that you have with ListView. ... the onclick event will be from an activity or fragment that contains this RecyclerView. ... mAdapter = new CityAdapter(cities, R.layout.row_city, this );.
DOWNLOAD: https://tinurli.com/2fa2bc
DOWNLOAD: https://tinurli.com/2fa2bc
how-to-open-a-different-fragment-on-recyclerview-item-onclick
939c2ea5af
Comments