I have an onCreate() method that looks something like this:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity);
if (blah) {
blahblah;
} else {
method1();
}
MethodA();
}
An onActivityResult method that looks something like this:
@Override
protected void onActivityResult(int a, int b, Intent c) {
super.onActivityResult(b, a, c);
if (b == blah) {
if (a == blah) {
Method1();
}
}
}
Method1():
public void Method1() {
blah
}
I have a methodA() which is supposed to appear first time (at the moment it doesnt appear, unless I put methodA() in onStart() - then only it appears on its second attempt at opening the app
public void MethodA() {
sets text on screen
}