Guilherme Delgado
10/15/2021, 8:33 AMappmattus
10/15/2021, 9:59 AMGuilherme Delgado
10/15/2021, 10:06 AMoverride fun onCleared()
I call .clear()
problems:
• saving in cache upon any reduce may not be optimal
• how do i clear this cache when user kills the app manually, in other words, how can I distinguish between system kill or user kill (the latter I want a cache cleared)? 🤔miqbaldc
10/15/2021, 12:32 PMGuilherme Delgado
10/15/2021, 12:54 PMhow do i clear this cache when user kills the app manually, in other words, how can I distinguish between system kill or user kill (the latter I want a cache cleared)?a very very 🔨 time one 😅 , clearing cache if splash launches 😬
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
it works but i don’t like it very much…appmattus
10/15/2021, 3:42 PMGuilherme Delgado
10/15/2021, 3:43 PMappmattus
10/15/2021, 3:43 PMGuilherme Delgado
10/15/2021, 3:45 PMappmattus
10/15/2021, 3:45 PMGuilherme Delgado
10/15/2021, 3:46 PMappmattus
10/15/2021, 3:53 PMGuilherme Delgado
10/15/2021, 3:54 PMappmattus
10/15/2021, 3:54 PMGuilherme Delgado
10/15/2021, 3:54 PMmiqbaldc
10/16/2021, 4:34 AMdo you think we could have a shared VM with the “core” logic, let’s say, and then on each plat.afaik https://danielebaroncelli.medium.com/ shares a lot related to use a shared VM
Guilherme Delgado
10/17/2021, 9:45 PMappmattus
10/18/2021, 8:00 AM