StateView
Inflate loadingView/emptyView/retryView/anyView at runtime
StateView is a lightweight control that inherits from View and absorbs some features of ViewStub. It is invisible in the initial state, does not occupy the layout position, and takes up little memory. The view will not be added to the layout until the view is empty/retry/loaded.