Question: what is the use of getter and setter methods in android?
Answer: 2 Answers. Getter and Setter methods are used for encapsulate the data. it means wrapping the data into single unit. For example create a ListView with 3 TextView who has different-different value.