Created
October 21, 2016 08:25
-
-
Save maydin/1038b7d9862b0949cc5d4480e9af88aa to your computer and use it in GitHub Desktop.
free version
This file contains 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 class BaseActivity extends AppCompatActivity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
} | |
@Override | |
public void setContentView(int layoutResID) | |
{ | |
View fullView = getLayoutInflater().inflate(layoutResID, null); | |
super.setContentView(fullView); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment