androidx.asynclayoutinflater:asynclayoutinflater
Official Description: The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren't a part of the framework APIs. Compatible on devices running API 14 or later.
CommonsWare’s Notes
This library offers AsyncLayoutInflater
. As the name suggests, it is designed
to inflate layouts on a background thread, delivering the inflated layout to
you on the main application thread. The argument is that this can remove excess
work from the main application thread.
Unfortunately, AsyncLayoutInflater
will conflict with things like data binding and the <fragment>
tag. AsyncLayoutInflater
does not seem to be especially popular.
Documentation
Knowledge
Versions
- Latest Stable: 1.0.0
- Latest Release Candidate: 1.0.0-rc02
- Latest Beta: 1.0.0-beta01
- Latest Alpha: 1.0.0-alpha3