Android Open Source - assignment1_todolist Todo






From Project

Back to project page assignment1_todolist.

License

The source code is released under:

GNU General Public License

If you think the Android project assignment1_todolist 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.mswillia_notes002;
/*from  w  w w . j a va2 s  . co  m*/
import java.io.Serializable;

public class Todo implements Serializable{
  
  
    /*
  Todo class gets and sets todo text and checkbox state
  */
  
  private static final long serialVersionUID = -1610812652116647634L;
  private String todoText;
    private boolean todoChecked;
    
    public Todo(boolean todoChecked, String todoText) {
        this.todoText = todoText;
        this.todoChecked = todoChecked;
    }
 
  public String getTodoText() {
        return todoText;
    }
 
    public void setTodoText(String todoText) {
        this.todoText = todoText;
    }
 
    public boolean getTodoChecked() {
        return todoChecked;
    }
    
    public void setTodoChecked(boolean todoChecked) {
        this.todoChecked = todoChecked;
    }
 
}




Java Source Code List

com.example.mswillia_notes002.CombinedList.java
com.example.mswillia_notes002.InterfaceFileManager.java
com.example.mswillia_notes002.ListViewAdapter.java
com.example.mswillia_notes002.MainActivity.java
com.example.mswillia_notes002.SummaryActivity.java
com.example.mswillia_notes002.TodoListFileManager.java
com.example.mswillia_notes002.TodoList.java
com.example.mswillia_notes002.Todo.java