Tapping the floating action button (FAB) adds a new word.īefore you can display a RecyclerView, you need data to display.You create the dataset (the words), the RecyclerView itself, and the actions the user can take: ANDROID STUDIO RECYCLERVIEW DOCUMENTATION HOW TOThe RecyclerView app demonstrates how to use a RecyclerView to display a long scrollable list of words. Use a FAB to let the user add items to the RecyclerView.Create a new app that uses a RecyclerView to display a list of items as a scrollable list and associate click behavior with the list items.How to show a FAB and perform an action when the user taps it.How to perform an action when the user taps a specific item.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |