Answer the question
In order to leave comments, you need to log in
How to make the RecyclerView element's wipe animation of the outer element?
There is a RecyclerView with two types of items (a separate ViewHolder for each of them) - list_item_type1 and list_item_type2. List_item_type2 only consists of TextView2.
Above the activity, above the RecyclerView is TextView1.
How can I write a displacement animation (shift TextView2 up to the TextView1 position, shift TextView1 up until it disappears under the ActionBar) of the elements when list_item_type2 reaches the top border of the RecyclerView (i.e. at the moment when the Y coordinate of the list_item_type2 element is 0.0)?
Option 2: Or is it possible somehow, when the item list_item_type2 reaches the top border of the RecyclerView, to fix it there until a new list_item_type2 appears?
Android API > 16
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question