May 2023 2 6 Report
How can I create a dynamic matrix/grid recycler view for an android application
I'm trying to create a dynamic RecyclerView for an Android application that shows a booking schedule where each column represents a room and each row represents a button if the room is available or not at a specific time.
Please see the picture as a reference.

On the left side, the time schedule will be a separate RecyclerView because all times will be fixed.
On the right side I was thinking to create a ViewPager2 element that will hold my recycler view because based on the screen size it might not fit all rooms, so the user will have the option to swipe through the pages.
Also my list item for the recycler view is a single button which I will setup accordingly if the room is available or not.
More Questions From This User See All

Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.