Friday, January 8, 2021

libs and more

Cachify has been updated to version 0.0.20 to fix a pretty nasty bug related to memory cache storage. This change comes with some major API changes.

The CacheStorage<K, V> interface is now a CacheStorage<T>. A CacheStorage interface now handles just one piece of cached data instead of requiring support for multiple pieces of data.

The entry points at cachify and multiCachify now take a lazy list of CacheStorage implementations instead of requiring you to initialize the CacheStorage at the callsite. This is so that multiCachify implementations do not all accidentally attempt to write to the same cache storage. CacheStorage instances are now separated between Cachify instances. The MultiCachify key function is now suspending so that we can guarantee the mapped backend has only one writer at a time. There is also a strict guarantee that a list of CacheStorage instances will be written to before being read, to make sure that data in the cache is consistently represented. All of these backing storage guarantees are handled by a simple suspending Mutex.

PYDroid has been bumped to version 22.4.4 which brings built in support for the In-App Billing v3 library. The library has a new billing module which handles the heavy lifting, and a reference implementation is built into the PYDroid ui library, and automatically initialized for you when using the ActivityBase class. A default interactive UI is also implemented in the AppSettingsPreferenceFragment class, via a "Donate" list item. The list will be populated out of the box if your IAP items use an id scheme that looks like: <package-name>.iap_{one,three,five,ten}. Currently there is only support for donation style consumable IAPs.

An update has been pushed for FridgeFriend which brings support for moving Items between Groups. You can better organize the stuff in your fridge by breaking large groups of items up into smaller subgroups, and this moving option can better facilitate that.

ZapTorch has gained support for additional button gestures. Double tapping the Volume Up button will cause the flash light to slowly pulse, and pressing one Volume Down followed by a Volume Up will cause a quick strobe effect.

I will formally publish the updates to the store once testing has been completed, probably today or tomorrow.

Stay tuned!

========================
Follow pyamsoft around the Web for updates and announcements about the newest applications!
Like what I do?

Send me an email at: pyam.soft@gmail.com
Or find me online at: https://pyamsoft.blogspot.com

Follow my Facebook Page
Check out my code on GitHub
=========================