I want to implemented the below UI design. There are two options available as a payment option i.e. Saved cards and regular(COD/Credit Card) Payment. User need to choose any either of them.
To achieve this,I have added recyclerview for each payment option i.e. One Recycler view for Saved Cards and one for the Other Payment Options.
As i said, user can select any one payment option from both the recyclerviews. On selection of any item(payment option), other items of should be deselected. So how to get the selected item from recyclerviews ?
Other possible solution is that I can try the multi-section recycler view to build the same UI. My only worry is that can we get only single item selection in multi-section recycler view?
Any help/guidance/samples will be really appreciated.
Aucun commentaire:
Enregistrer un commentaire