In this chapter of the RecyclerView andorid tutorial we are going to implement how we can swipe+delete and reorder items inside of the list.
It means, when we swipe the item to the left or to the right, then this item gonna be deleted. When we tap the item a bit longer, then the item will be transparent, and we can move it everywhere inside the list.
Continue reading RecyclerView – Swipe+delete and reorder items
In this chapter of the RecyclerView Andorid tutorial we are going to add actions and animations for the FloatingActionButtons. It means, when we click on the FAB, then 2 more FABs will be visible. They are the buttons to open the bottom sheet of searchand the dialog to add a new ToDo.
Our user interface already contains the FABs. So, what we will do in this chapter is the definition of the distance of the upwards move, then the animation, and finally the click listener to open the dialogs.
So, let’s start coding! 😎 Continue reading RecyclerView – The FloatingActionButtons
In this chapter of the RecyclerView andorid tutorial we are going to implement how we can search in the titles of the items, which means we gonna implement a filter function.
First in this chapter, we are going to create a new fragment. This fragment will be a BottomSheetDialogFragment. It means, when we click on the Search FloatingActionButton, then the fragment slides up with the search fields.
Continue reading RecyclerView – Search and filter
In this chapter of the RecyclerView Andorid tutorial we are going to add new items to the list. Our application already contains the RecyclerView, the action buttons, and the user interface of the dailog, where we can add the detailes of the new ToDo item.
In the very last chapter (Adapter + ViewHolder) we have created the adapter, which handels the items of the list. We have created the view holder as well. The view holder’s task is to set the itemss’ values and to handle the click listeneres.
We are going to add the action for the Send button. This will call a method inside of the viewmodel, which will update the list and the RecyclerView, that a new item had been inserted.
So let’s start coding. 😎
Continue reading RecyclerView – Add new items
In this chapter of the RecyclerView andorid tutorial we are going to implement how we can modify an item of the list. When we the tap an item, then the same dialog will popup, what we can use to create a new item.
In this case, the dialog will be filled out with the data of the clicked item, and the action button of Modify will change the properties of the item and notify the RecyclerView about the change.
Continue reading RecyclerView – Modify item
In this chapter of the RecyclerView andorid tutorial we are going to add to the project the Adapter of the RecyclerView and the ViewHolder of the items. The Adapter is responsible for providing view that represent items in a data set. The ViewHolder reprents the views in the list. Each ViewHolder is in charge of displaying a single item with a view.
Continue reading RecyclerView – Adapter + ViewHolder