Skip to content

Instantly share code, notes, and snippets.

@hixguru
Created November 1, 2019 04:24
Show Gist options
  • Save hixguru/9898e15b2d990118ef39c3d0b4815c18 to your computer and use it in GitHub Desktop.
Save hixguru/9898e15b2d990118ef39c3d0b4815c18 to your computer and use it in GitHub Desktop.
TextView var10000 = (TextView)this._$_findCachedViewById(id.tvTitle);
public View _$_findCachedViewById(int var1) {
if (this._$_findViewCache == null) {
this._$_findViewCache = new HashMap();
}
View var2 = (View) this._$_findViewCache.get(var1);
if (var2 == null) {
View var10000 = this.getContainerView();
if (var10000 == null) {
return null;
}
var2 = var10000.findViewById(var1);
this._$_findViewCache.put(var1, var2);
}
return var2;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment