We have an application based roughly on the FreshMVVM sample application
Forms.Droid application creates a bunch of shared resources, including a thread, which itself is registered and passed around to other shared resources
Registers each resource into the IOC container
Creates the PCL application to create and load the pages into the navigation stack (currently tabbed)
Everything was working great till we noticed a strange issues under android (tested both 5.01/6)
Load the application fully
Hit the back button once, app goes through OnPause(), OnStop(), then OnDestroy()
Background poller thread is still running in VS debug output (strange after OnDestroy)
Opening the running instance of the application from the android selector causes a new oncreate, new onstart, new onresume. The FreshIOC container still contains instances of each of our resources as verified in a try-catch resolve
Now we have re-created and re-registered our resources and things get weird.
Are we missing cleanup code related to FreshMvvm? Should we be handling our resources differently?