Relative Content

Tag Archive for javaandroidkotlinandroid-recyclerview

Hide / Show RecyclerView Items after Activity Button Click

I have an indeterminate list of items (override fun getItemCount() = list.size). I would like to initially show only the position 0 item to the user. After I click the “View All” button outside the recyclerview but in my activity I would like to unhide the remaining items of my list.