Hi Everyone
When accessing the listview it gives the constant value of 19 at each
activity irrespective of list presence.and
also the problem is I am unable to access the list items from a
particular activity
below is the code i tried to access the items from the list but its
gives Null as the output
int count=solo.getCurrentListViews().get(0).getCount();
ArrayList<ListView> viewlist = solo.getCurrentListViews();
for(int i=0;i<count;i++){
View first = viewlist.get(0).getChildAt(count);
TextView theFact = (TextView)
first.findViewById(R.id.answered_list);
String shareFact = theFact.getText().toString();
System.out.println("Ur here "+shareFact);
}
please suggest or give some idea which helps to access the list item.
Thanks
Venkatesh Manavalan
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en