N
N
nikita_chiru2016-05-11 15:18:58
Android
nikita_chiru, 2016-05-11 15:18:58

How to pass fragments between classes?

I have a class with a list of products, there is a favorites class and a cart class ...
1) Is it possible to make each button a separate class and insert it into the scrollview (considering that this button will already have its own horizontal scroll)?
2) If the first is possible, then how to make it so that when a button is pressed (for example, "add to favorites"), a button registered by a separate class is added to the favorites class?
3) How to create an animation, specifically a horizontal scroll ... when you click on the left, 2 hidden buttons come out ...?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nikitosgleb, 2016-05-14
@nikitosgleb

https://www.youtube.com/watch?v=E0352OH488M

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question