I am working in one app where i need to pass the value from base adapter class to activity
here is the snippet code:
public View getView(int position, Vi
U can use below code inside ur activity
for(int i=0;i<list.getCount();i++) { //here u can add i values to an array for storing positions or do anything else u want }