A snippet is part of the user interface of an application or behavior that can be placed in an Activity.
- Has its own life cycle;
- Gets its own input events;
- It can be added or removed during operation;
Believe me, this is the best method. I was introduced to fragments having an application with quotes. List of quotes on the left and quotation marks that were changed on the left when the author was selected.
source share