Hi all ,
Sorry if this question has been answered before but I could not find any related info .
Can we use these hooks from libraries ? and if so , is there any simple example ?
Activity hooks:
_onCreate()
_onResume()
_onPause()
_onDestroy()
_onStop()
_onStart()
_onPrepareOptionsMenu (android.view.Menu menu)
boolean _onCreateOptionsMenu (android.view.Menu menu) <--- If you return true from this method then the standard B4A code in onCreateOptionsMenu will not run.
Service hooks:
_onCreate()
_onStartCommand(Intent intent, int flags, int startId)
_onDestroy()
Thanks in advance
Sorry if this question has been answered before but I could not find any related info .
Can we use these hooks from libraries ? and if so , is there any simple example ?
Activity hooks:
_onCreate()
_onResume()
_onPause()
_onDestroy()
_onStop()
_onStart()
_onPrepareOptionsMenu (android.view.Menu menu)
boolean _onCreateOptionsMenu (android.view.Menu menu) <--- If you return true from this method then the standard B4A code in onCreateOptionsMenu will not run.
Service hooks:
_onCreate()
_onStartCommand(Intent intent, int flags, int startId)
_onDestroy()
Thanks in advance