Post hiding loading view operation into to the message queue
BUG: 382407178 Test: local tested Flag: com.android.settings.flags.enable_bluetooth_device_details_polish Change-Id: I23acb528b3801b167d5bd7335b4c324ba38bdada
This commit is contained in:
parent
e994e8eab5
commit
b93828930e
1 changed files with 5 additions and 3 deletions
|
|
@ -214,9 +214,11 @@ class DeviceDetailsFragmentFormatterImpl(
|
|||
}
|
||||
}
|
||||
|
||||
if (isLoading) {
|
||||
fragment.setLoading(false, false)
|
||||
isLoading = false
|
||||
fragment.listView.post {
|
||||
if (isLoading) {
|
||||
fragment.setLoading(false, false)
|
||||
isLoading = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue