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) 

see docs here...

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) 

see docs here...

and use int tag represents day number.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -