Android Open Source - lists Model






From Project

Back to project page lists.

License

The source code is released under:

GNU General Public License

If you think the Android project lists 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 edu.cs4730.ListDemo;
//  w w w .j a va  2 s .co  m
import android.view.View;

/*
 * from http://www.vogella.de/articles/AndroidListView/article.html
 */

public class Model {

  private String name;
  private boolean selected;
  public View view;

  public Model(String name) {
    this.name = name;
    selected = false;
  }

  public String getName() {
    return name;
  }

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

  public boolean isSelected() {
    return selected;
  }

  public void setSelected(boolean selected) {
    this.selected = selected;
  }

}




Java Source Code List

edu.cs4730.ListDemo.Active_fraglist.java
edu.cs4730.ListDemo.Active_fraglist.java
edu.cs4730.ListDemo.InteractiveArrayAdapter.java
edu.cs4730.ListDemo.InteractiveArrayAdapter.java
edu.cs4730.ListDemo.MainActivity.java
edu.cs4730.ListDemo.MainActivity.java
edu.cs4730.ListDemo.Model.java
edu.cs4730.ListDemo.Model.java
edu.cs4730.ListDemo.Phone_frag.java
edu.cs4730.ListDemo.Phone_frag.java
edu.cs4730.ListDemo.PhonebookAdapter.java
edu.cs4730.ListDemo.PhonebookAdapter.java
edu.cs4730.ListDemo.Phonebook.java
edu.cs4730.ListDemo.Phonebook.java
edu.cs4730.ListDemo.Simple2_fraglist.java
edu.cs4730.ListDemo.Simple2_fraglist.java
edu.cs4730.ListDemo.Simple3_frag.java
edu.cs4730.ListDemo.Simple3_frag.java
edu.cs4730.ListDemo.Simple_fraglist.java
edu.cs4730.ListDemo.Simple_fraglist.java
edu.cs4730.esplistviewdemo.ExpandableListAdapter.java
edu.cs4730.esplistviewdemo.ExpandableListAdapter.java
edu.cs4730.esplistviewdemo.MainActivity.java
edu.cs4730.esplistviewdemo.MainActivity.java
edu.cs4730.esplistviewdemo.elvDemo1_Fragment.java
edu.cs4730.esplistviewdemo.elvDemo1_Fragment.java
edu.cs4730.esplistviewdemo.elvDemo2_Fragment.java
edu.cs4730.esplistviewdemo.elvDemo2_Fragment.java