Skip to content

Releases: DylanCaiCoding/LoadingStateView

4.1.0

11 Jun 08:42
Compare
Choose a tag to compare
  • Simplify the code in the base class.
  • Fix the issue of a blank screen when using Fragment.setToolbar(...)

  • 简化基类的代码
  • 修复使用 Fragment.setToolbar(...) 白屏的问题

4.0.2

13 Jul 05:54
Compare
Choose a tag to compare
  • Fix an issue that content's height in the ConstraintLayout may be zero. #30

  • 修复了约束布局中的内容高度可能为 0 的问题。#30

4.0.1

21 Jun 16:49
Compare
Choose a tag to compare

loadingstateview-ktx

  • The interface Decorative add contentView property. Overriding this property in base class changes the location of the state page .

loadingstateview-ktx

  • Decorative 接口增加 contentView 属性,在基类重写该属性能修改缺省页的位置。

4.0.0

26 May 10:00
Compare
Choose a tag to compare

Major update

  • The overall usage is further simplified with removing the ViewHolder. The code of LoadingStateView is reduced to about 200 lines without comment statement.

  • Add loadingstateview-ktx dependency. With the Kotlin delegate, you can quickly add all functionality to the base class without affecting existing code.

重大更新

  • 移除了 ViewHolder,整体用法得到进一步简化。LoadingStateView 代码减少至 200 行左右(不算注释)。

  • 增加 loadingstateview-ktx 依赖。结合 Kotlin 委托特性能快速将所有功能集成到基类,不会影响已有代码。

3.0.1

01 Nov 06:44
Compare
Choose a tag to compare
  • Add LoadingStateView#updateView(viewType) {...}
  • Add LoadingStateView#currentViewType

3.0.0

03 Oct 02:16
aaf0595
Compare
Choose a tag to compare

Breaking Changes

  • Rename LoadingHelper to LoadingStateView
  • Rename LoadingHelper.Adapter to LoadingStateView.ViewDelegate
  • Rename LoadingHelper.DecorAdapter to LoadingStateView.DecorViewDelegate
  • Rename LoadingHelper.setDefaultAdapterPool(...) method to LoadingStateView.setViewDelegatePool(...)
  • Rename LoadingHelper#setDecorAdapter(...) method to LoadingStateView.setDecorViewDelegate(...)
  • Rename LoadingHelper#addChildDecorAdapter(...) method to LoadingStateView#addChildDecorViewDelegate(...)

3.0.0-alpha

26 Sep 17:26
Compare
Choose a tag to compare
3.0.0-alpha Pre-release
Pre-release
Prepare for release 3.0.0-alpha

2.3.0

19 Jul 11:17
02bf4f7
Compare
Choose a tag to compare
  • Add LoadingHelper#setDecorHeader(vararg Adapter<*>)
  • Remove ContentAdapter

2.2.0

16 May 08:38
Compare
Choose a tag to compare

Support animation when showing view.

LoadingHelper

  • Added showLoadingView(animation: Animation)
  • Added showContentView(animation: Animation)
  • Added showErrorView(animation: Animation)
  • Added showEmptyView(animation: Animation)
  • Added showView(viewType: Any, animation: Animation)

2.1.1

07 Jan 02:29
Compare
Choose a tag to compare
  • Fixes an issue that shows nothing in a constraint layout that width or height is zero.