Back to project page text-snippets.
The source code is released under:
GNU General Public License
If you think the Android project text-snippets listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.sirimangalo.textsnippets; /* ww w .ja v a2 s.c o m*/ public class Snippet { private long id; private String snippet; private String comment; public long getId() { return id; } public void setId(long id) { this.id = id; } public String getSnippet() { return snippet; } public String getComment() { return comment; } public void setSnippet(String snippet, String comment) { this.snippet = snippet; this.comment = comment; } // Will be used by the ArrayAdapter in the ListView @Override public String toString() { return snippet; } }