Skip to content
Snippets Groups Projects
Commit 814b659b authored by Taras's avatar Taras
Browse files

Add loadin to gallery images list

parent 47dab53f
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ class GalleryFragment : Fragment(R.layout.fragment_gallery) {
private fun setupViews() {
binding.rvGallery.apply {
layoutManager =
getRecyclerView().layoutManager =
StaggeredGridLayoutManager(2, StaggeredGridLayoutManager.VERTICAL).apply {
gapStrategy = StaggeredGridLayoutManager.GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS
}
......
......@@ -5,7 +5,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView
<org.futo.circles.core.view.LoadingRecyclerView
android:id="@+id/rvGallery"
android:layout_width="match_parent"
android:layout_height="match_parent"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment