This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Description
For now, the user must call Tovuti.from(context).stop() but i want to make it automatic when the Activity/Fragment stops.
So, the way Glide implements this feature is by having a view-less Fragment. The view-less fragment is attached to the activity/fragment where the Monitor is attached and these Fragment receives the lifecycle events of the parent/host thus allowing the Monitor to respond accordingly without user intervention (i.e. calling stop method).
I'll try see if this way will suit us. The only problem is increasing the complexity of the library unnecessarily. What do you think @jumadeveloper?