Android Open Source - simple-json-android-exercise User






From Project

Back to project page simple-json-android-exercise.

License

The source code is released under:

Apache License

If you think the Android project simple-json-android-exercise listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.example.simplejsonapp.entity;
/*w  ww . j a v  a 2 s.  c  om*/
public class User {
  private String id, name;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  @Override
  public String toString() {
    return "User [id=" + id + ", name=" + name + "]";
  }
}




Java Source Code List

com.example.simplejsonapp.MainActivity.java
com.example.simplejsonapp.MainActivity_.java
com.example.simplejsonapp.entity.User.java
com.example.simplejsonapp.rest.SimpleRestClient.java
com.example.simplejsonapp.rest.SimpleRestClient_.java