android - Activity Launch Mode Single Instance Usage -
i have 2 activities. webviewactivity , camerapreviewactivity
i should able switch between 2 activities on click of button. once have started camerapreviewactivity, further loads of activity should not take time initialize camera view. should getting resumed previous state.
is idea keeping launch mode of both activities 'single instance' , start activities when respective button clicked?
is idea keeping launch mode of both activities 'single instance' , start activities when button clicked
yes, mark launchmode singleinstance in manifest, not call finish() method in of them. call activity there in stack.
Comments
Post a Comment