blob: 0ef77e2b287c5eb2e58d91b35cdc589460fa9050 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
package se.leap.bitmaskclient;
import androidx.appcompat.app.AppCompatActivity;
import android.view.View;
import butterknife.ButterKnife;
/**
* Automatically inject with ButterKnife after calling setContentView
*/
public abstract class ButterKnifeActivity extends AppCompatActivity {
@Override
public void setContentView(View view) {
super.setContentView(view);
ButterKnife.inject(this);
}
@Override
public void setContentView(int layoutResID) {
super.setContentView(layoutResID);
ButterKnife.inject(this);
}
@Override
protected void onDestroy() {
super.onDestroy();
}
}
|