Closed GoogleCodeExporter closed 9 years ago
Index and ID is not the same thing. Index is used for blackbox reasons. What
you want to do is:
EditText myEditText = solo.getView(R.id);
solo.clearEditText(myEditText)
Original comment by renasr...@gmail.com
on 27 Nov 2012 at 4:16
In any case, the code:
view = views.get(index);
is not correct.
It should be:
for (T v : views) {
if (v.getId() == index) {
view = (T) v;
break;
}
}
Original comment by rsdso...@gmail.com
on 29 Nov 2012 at 6:21
Index and ID is not the same thing.
Original comment by renasr...@gmail.com
on 29 Nov 2012 at 6:23
OK. Finally understood. Sorry about that.
Original comment by rsdso...@gmail.com
on 29 Nov 2012 at 6:28
Original issue reported on code.google.com by
rsdso...@gmail.com
on 27 Nov 2012 at 8:13