yanzhenjie / Album

:watermelon: Album and Gallery for Android platform.
https://github.com/yanzhenjie/Album
Apache License 2.0
2.51k stars 506 forks source link

图片预览界面能否加个loading框 #301

Open sunlightAndroid opened 4 years ago

sunlightAndroid commented 4 years ago

因为有的图片太大,加载不那么快,所以能否设置个加载框,动态的,比较好。

   Album.gallery(getContext())
                    .checkedList((ArrayList<String>) mAdapter.getData())
                    .widget(
                            Widget.newDarkBuilder(getContext())
                                    .title("预览")
                                    .build()
                    )
                    .currentPosition(position)
                    .checkable(false)
                    .start());