AceKingSuited 24 Share Posted July 31, 2017 I've noticed that onStart() gets called and then onStart(String... args) gets called afterwards when quickstart is used. This is awkward af because I am using the args to determine what should be running in onStart. For example, most people get ready to display GUI in onStart. But if I run quickstart, in theory, it would still run that same code and then quickstart would happen after that process is already done. How can I check in onStart() if onStart(String.. args) is gonna be called? Link to comment Share on other sites More sharing options...
Banker 175 Share Posted July 31, 2017 uhh u just do public void onStart(String... args) { // shit this.onStart(); } ... public void onStart() { // blah blah blah } Link to comment Share on other sites More sharing options...
Nuclear Nezz 2055 Share Posted July 31, 2017 onStart(String...args) should be called *instead* of onStart() when it's ran with quickstart *with* parameters. if they do not give -params then it'll go to onStart() But only one of them should be called. Link to comment Share on other sites More sharing options...
AceKingSuited 24 Author Share Posted July 31, 2017 onStart(String...args) should be called *instead* of onStart() when it's ran with quickstart *with* parameters. if they do not give -params then it'll go to onStart() But only one of them should be called. I was calling super.onStart() at the top of onStart(String... args) lol Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.