Here you can find the source of findUsingTag(View v, int resourceId)
public static <T> T findUsingTag(View v, int resourceId)
//package com.java2s; import android.view.View; public class Main { public static <T> T findUsingTag(View v, int resourceId) { Object result = v.getTag(resourceId); if (result == null) { result = (T) v.findViewById(resourceId); v.setTag(resourceId, result); }/*from ww w . j a v a2 s.co m*/ return (T) result; } }