Android Open Source - AnotherExpandableListView Another Expandable Child






From Project

Back to project page AnotherExpandableListView.

License

The source code is released under:

GNU General Public License

If you think the Android project AnotherExpandableListView 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 es.laux.models;
/*  w  w w  .  j a v  a  2s .  c o m*/
/**
 * Object to save an item in the list
 */
public class AnotherExpandableChild {

    // Id of the item
    private long id;
    // Id of the parent
    private AnotherExpandableGroup parent;
    // Text of children
    private String text;
    // Resid Icon of the item, default: -1
    private int icon = -1;
    // Is clickable?
    private boolean clickable;

    /**
     * Get and set
     * */
    public long getId() {
        return id;
    }

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

    public AnotherExpandableGroup getParent() {
        return parent;
    }

    public void setParent(AnotherExpandableGroup parent) {
        this.parent = parent;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public boolean isClickable() {
        return clickable;
    }

    public void setClickable(boolean clickable) {
        this.clickable = clickable;
    }

    /**
     * Finish get and set
     * */
}




Java Source Code List

es.laux.AnotherExpandableAdapter.java
es.laux.AnotherExpandableListView.java
es.laux.Resources.java
es.laux.models.AnotherExpandableChild.java
es.laux.models.AnotherExpandableGroup.java