Open GoogleCodeExporter opened 9 years ago
Why not just override the layoutDisplay method in your own Activity?
Original comment by remy.bou...@gmail.com
on 13 Feb 2013 at 9:38
Because then the complete code of layoutDisplay has to be copied and isn't
automatically updated if the implementation in the superclass changes..
also there are many dependencies to fields in the class in the layoutDisplay
which doesn't make it a good candidate to be overwritten.
Original comment by simon.heinen
on 13 Feb 2013 at 9:48
That's the point you can absolutely make whatever you want in
layoutDisplay,have a completely different layout and bypass the splash screen
mechanism of jme.
I'd rather extract the framelayout creation to another method so that the code
is lighter...but at first this method is meant for what you want to do
Original comment by remy.bou...@gmail.com
on 13 Feb 2013 at 9:56
yes moving the other code blocks in the method to an own method would work as
well. any refactoring to a more modular method would be great :)
Original comment by simon.heinen
on 13 Feb 2013 at 10:04
ok. I'll do that.
Thanks
Original comment by remy.bou...@gmail.com
on 13 Feb 2013 at 10:07
Original comment by ShadowIs...@gmail.com
on 3 Jan 2014 at 10:51
Original issue reported on code.google.com by
simon.heinen
on 28 Dec 2012 at 7:10Attachments: