Code example for SparseIntArray

import android.widget.TextView; 
public class StreamListAdapter extends ArrayAdapter<Object> {
	protected String TAG = "StreamListAdapter";
	public SparseIntArray expanded = new SparseIntArray();
	private HashMap<String,Boolean> admin;
	public StreamListAdapter(Activity activity, Object[] rss) {
		super(activity, 0, rss);
	public View getView(final int position, View convertView, ViewGroup parent) {
		final Activity activity = (Activity) getContext();
		LayoutInflater inflater = activity.getLayoutInflater();
Connect your IDE to all the code out there  Get Codota for Java