Start a new topic

Unregister Sensors onPause

Unregister Sensors onPause
1 Comment

I have noticed from the logs and memory analysis that after I have closed the ArchitectView that a listener seems to still being triggered.

something is continually requesting getOrientation() from this.

I would like to know how I would go about unregistering this sensor or how to stop it from firing once I decide that the view is no longer required (onPause, onStop, or onDestroy).


Kind regards.
Login or Signup to post a comment