Code example for SparseArray

Methods: append

0
	public SparseArray<Point> getIndList() {
		return indList;
	} 
	 
	public void addIndex(int snapinId, int posx, int posy) {
		indList.append(snapinId, new Point(posx, posy));
	} 
 
	public void setIndList(SparseArray<Point> indList) {
		this.indList = indList;
	} 
 
 
}