The first is the removal of the
SwipeRefreshLayout.refreshing(Boolean)
extension function. This function was originally created to work around a bug in the SwipeRefreshLayout library by posting to the setRefreshing function, but later versions of that library fixed the bug so the extension function is no longer needed.Another important change is to the
setState
mechanism on ViewModel and StateModel classes. The setState
function used to open its own CoroutineScope
which could not be cancelled except by cancelling the entire scope. This API still exists but may become deprecated in the near future in favor of the new APIs, which are extensions with the same signature but on the CoroutineScope
object. As this is only a bugfix release, the old functions will stick around for the future, but may be removed in the next minor release.Please upgrade to 22.5.4 when possible.
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
=========================
========================
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
=========================