Searched refs:listenerResourceId (Results 1 – 1 of 1) sorted by relevance
55 public static <T> T trackListener(View view, T listener, int listenerResourceId) { in trackListener() argument57 final T oldValue = (T) view.getTag(listenerResourceId); in trackListener()58 view.setTag(listenerResourceId, listener); in trackListener()62 WeakHashMap<View, WeakReference<?>> listeners = sListeners.get(listenerResourceId); in trackListener()65 sListeners.put(listenerResourceId, listeners); in trackListener()91 public static <T> T getListener(View view, int listenerResourceId) { in getListener() argument93 return (T) view.getTag(listenerResourceId); in getListener()96 WeakHashMap<View, WeakReference<?>> listeners = sListeners.get(listenerResourceId); in getListener()