android - Get view in GridView by text -
i have simple question, can see in title. there opportunity find element in gridview knowing text of view?
there method in view class called:
public void findviewswithtext (arraylist<view> outviews, charsequence searched, int flags)
this want, however, not "tight" because there might several views same text why returns arraylist of views match required text.
i suggest using
public final view findviewwithtag (object tag)
and use int tag represents day number.
Comments
Post a Comment