I have sub classed android.widget.ListView
, it works in my app. However when I setChoiceMode(AbsListView.CHOICE_MODE_MULTIPLE)
on an instance of my sub classed ListView the check boxes no longer appear next to each of the items as they did on the original ListView. Below is the sub class. What do I need to add to get the Check Boxes to appear as they did on the normal ListView?
package <MY_PACKAGE>
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ListView;
public class SListView extends ListView {
public SListView(Context context) {
super(context);
}
public SListView(Context context, AttributeSet attrs) {
super(context, attrs);
}
}