Great!
You can submit this as a cn1lib which will make it easier for people to
edit/work with.
FYI you're deriving from CodenameOneActiivity and trying to override
onResume et. al.
That won't work. What you should use is
AndroidNativeUtil.addLifecycleListener(new LifecycleListener() {
public void onCreate(Bundle savedInstanceState) { .... }
public void onResume() { .... }
public void onPause() { .... }
public void onDestroy() { .... }
public void onSaveInstanceState(Bundle b) { .... }
public void onLowMemory() { .... }
}
Here you don't need to call super when implementing the callback for each
method as it's implicit.
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/5029a281-960b-49ac-8343-5e34617cc9ff%40googlegroups.com.