Status Update
Comments
ad...@google.com <ad...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
Author: Aurimas Liutikas <
Link:
Bump asynclayoutinflater to 1.1.0-beta01
Expand for full commit details
Bump asynclayoutinflater to 1.1.0-beta01
Bug: 399115645
Test: ./gradlew -p asynclayoutinflater updateApi
Change-Id: I4b3b530da253fc274eaf281a7c82556fcd463ebd
Files:
- A
asynclayoutinflater/asynclayoutinflater-appcompat/api/1.1.0-beta01.txt
- A
asynclayoutinflater/asynclayoutinflater-appcompat/api/res-1.1.0-beta01.txt
- A
asynclayoutinflater/asynclayoutinflater-appcompat/api/restricted_1.1.0-beta01.txt
- M
asynclayoutinflater/asynclayoutinflater-appcompat/build.gradle
- A
asynclayoutinflater/asynclayoutinflater/api/1.1.0-beta01.txt
- A
asynclayoutinflater/asynclayoutinflater/api/res-1.1.0-beta01.txt
- A
asynclayoutinflater/asynclayoutinflater/api/restricted_1.1.0-beta01.txt
- M
libraryversions.toml
Hash: 5289ee6eecef7e8e62ece97f9a0e32213562fe36
Date: Tue Feb 25 11:27:57 2025
ad...@google.com <ad...@google.com> #3
al...@gmail.com <al...@gmail.com> #4
Project: platform/frameworks/support
Branch: androidx-main
Author: Aurimas Liutikas <
Link:
Move asynclayoutinflater to 1.1.0-rc01
Expand for full commit details
Move asynclayoutinflater to 1.1.0-rc01
Test: None
Bug: 399115645
Change-Id: I3972a338368be5dbd8d5dca93796e27473e712e2
Files:
- M
libraryversions.toml
Hash: aac73804f3a14baecefcfefafab9801966dd18e6
Date: Wed Mar 05 17:14:53 2025
al...@gmail.com <al...@gmail.com> #5
Scheduled a release of 1.1.0-rc01 for March 26, 2025
al...@google.com <al...@google.com>
al...@google.com <al...@google.com> #7
Around 0:08 the progress spinner shows up as green, then hard-cuts to black. Extremely minor and I assume at least partially WAI?
Description
When it fails to load data from API, I am showing an Error View and hiding `SwipeRefreshLayout`:
@JvmStatic
@BindingAdapter("refreshing")
fun setSwipeRefreshLayout(view: SwipeRefreshLayout, resource: Resource<List<SavingsGoal>>?) {
view.visibility = if (resource is Resource.Failure) View.GONE else View.VISIBLE
view.isRefreshing = resource is Resource.Loading || resource is Resource.Reloading
}
@JvmStatic
@BindingAdapter("showError")
fun showError(view: View, resource: Resource<List<SavingsGoal>>?) {
view.visibility = if (resource is Resource.Failure) View.VISIBLE else View.GONE
}
When I'm clicking on Retry button in Error View, `load` function get called from ViewModel :
fun load() {
_liveData.postValue(Resource.Loading())
showSavingsGoals()
}
What is strange is that `SwipeRefreshLayout` is turning so fast for a few seconds. I cannot figure out what is the reason, but I can verify that I do not call refresh when it is already refreshing.