Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.

Join them; it only takes a minute:

Sign up
Join the Stack Overflow community to:
  1. Ask programming questions
  2. Answer and help your peers
  3. Get recognized for your expertise
    public class POIItem {
    @SerializedName("id")
    private String id;
    @SerializedName("phone")
    private String phone;
    private String title;

    public String getId() {
        return id;
    }

    public String getPhone() {
        return phone;
    }
}

I need to represent each field as line in listview,where the item of listview have title ,which is the method name ,"Phone" and the value is getPhone(). How to get the method name or the SerializedName of each field and to get the method counts

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.