Created
February 17, 2019 11:08
-
-
Save krossovochkin/99d5496971c95344f3eaee6b7b51add9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public final class ExtensionsActivity extends AppCompatActivity { | |
| private SparseArray _$_findViewCache; | |
| protected void onCreate(@Nullable Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); | |
| this.setContentView(-1300009); | |
| this.update(); | |
| } | |
| private final void update() { | |
| TextView var10000 = (TextView)this._$_findCachedViewById(id.textView); | |
| Intrinsics.checkExpressionValueIsNotNull(var10000, "textView"); | |
| var10000.setText((CharSequence)"Text"); | |
| ((TextView)this._$_findCachedViewById(id.textView)).setTextColor(-65536); | |
| var10000 = (TextView)this._$_findCachedViewById(id.textView); | |
| Intrinsics.checkExpressionValueIsNotNull(var10000, "textView"); | |
| var10000.setTextSize(14.0F); | |
| } | |
| public View _$_findCachedViewById(int var1) { | |
| if (this._$_findViewCache == null) { | |
| this._$_findViewCache = new SparseArray(); | |
| } | |
| View var2 = (View)this._$_findViewCache.get(var1); | |
| if (var2 == null) { | |
| var2 = this.findViewById(var1); | |
| this._$_findViewCache.put(var1, var2); | |
| } | |
| return var2; | |
| } | |
| public void _$_clearFindViewByIdCache() { | |
| if (this._$_findViewCache != null) { | |
| this._$_findViewCache.clear(); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment