Back to project page twawm2.
The source code is released under:
Copyright (c) 2014, afnf All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistr...
If you think the Android project twawm2 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 com.appspot.afnf4199ga.twawm.ctl; //from w w w . j av a 2 s .co m public class ListItem { public char value; public String label; public boolean checked; public ListItem(char value, String label, boolean checked) { this.value = value; this.label = label; this.checked = checked; } @Override public String toString() { return value + "," + label + "," + (checked ? 1 : 0); } public int getIndex() { return value - 'a'; } }