Im not following the getPendingView method. Shouldnt it be using the pending.xml layout instead of the row one???
@Override
protected View getPendingView(ViewGroup parent) {
View row=getLayoutInflater().inflate(R.layout.row, null);
View child=row.findViewById(android.R.id.text1);
child.setVisibility(View.GONE);
child=row.findViewById(R.id.throbber);
child.setVisibility(View.VISIBLE);
child.startAnimation(rotate);
return(row);
}
No.
pending.xmlis used by the other demo activity.It is not supposed to appear. Hence, it does not appear. The demo you are citing uses a rotating
ImageViewto indicate that something is pending.