Android Open Source - android-custom-views-sample User






From Project

Back to project page android-custom-views-sample.

License

The source code is released under:

Apache License

If you think the Android project android-custom-views-sample 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 net.danlew.customviews.data;
//from ww  w.  j  a v  a 2 s .com
/**
 * Represents a user
 */
public class User {

    private String mName;
    private int mIcon;

    public User(String name, int icon) {
        mName = name;
        mIcon = icon;
    }

    public String getName() {
        return mName;
    }

    public int getIcon() {
        return mIcon;
    }
}




Java Source Code List

net.danlew.customviews.SampleActivity.java
net.danlew.customviews.data.User.java
net.danlew.customviews.view.CircleView.java
net.danlew.customviews.view.SampleView.java
net.danlew.customviews.view.UserViewAttrs.java
net.danlew.customviews.view.UserViewCircle.java
net.danlew.customviews.view.UserViewCompound.java
net.danlew.customviews.view.UserViewEncapsulated.java