Skip to content

Releases: nukc/StateView

v1.3.3

17 Nov 06:43
Compare
Choose a tag to compare

support inject RecyclerView

v1.3.2

25 Aug 08:48
Compare
Choose a tag to compare

增加 OnInflateListener,在 view 成功添加到 parent 的时候回调(每个 viewType 只回调一次), 可在回调中对 View 进行操作设置,比如设置文本图像等。

v1.3.1

25 Aug 08:47
Compare
Choose a tag to compare

更改 AnimatorProvider 接口,让动画效果的自由度更高

v1.3.0

25 Aug 08:47
Compare
Choose a tag to compare

增加支持视图动画切换效果,另增加一个动画效果提供库 animations

v1.2.1

17 Apr 03:54
Compare
Choose a tag to compare

修改 inject 方法,如果使用 StateView.inject(View view) 传入的 view 不是 ViewGroup,则会尝试注入到 view 的父容器中, 另外增加判断 ViewGroup 是 SwipeRefreshLayout/NestedScrollView 的情况。

v1.1.0

02 Mar 02:31
Compare
Choose a tag to compare

v1.0.1

28 Feb 08:54
Compare
Choose a tag to compare

update inject

v1.0.0

09 Feb 09:40
Compare
Choose a tag to compare

删除上版本 Deprecated 的方法;
修改 inject(ViewGroup parent) 方法,让其更健壮

v0.3.5

22 Sep 06:18
Compare
Choose a tag to compare

update inject(activity): add stateView to android.R.id.content;

deprecated:

@Deprecated
public static StateView inject(@NonNull Activity activity, boolean hasActionBar)

@Deprecated
private static StateView inject(@NonNull ViewGroup parent, boolean hasActionBar, boolean isActivity)

@Deprecated
public void setTopMargin(boolean isActivity)

@Deprecated
private int getStatusBarHeight()

v0.3.3

31 Aug 14:51
Compare
Choose a tag to compare

update the library's default layout name