AGSkeletonLoading icon indicating copy to clipboard operation
AGSkeletonLoading copied to clipboard

Recyclerview horizontal

Open jay530 opened this issue 4 years ago • 0 comments

Hello, I have used this library it's very pretty but I have faced some issues when I used the recycler view layoumanage horizontal that time simmer effect display only vertical view did you have any solution for that?

My Code: //Set layout <aglibs.loading.skeleton.layout.SkeletonRecyclerView android:id="@+id/recyclerViewCategory" android:layout_width="0dp" android:layout_height="wrap_content" app:layout_constraintEnd_toEndOf="@id/guideLineEnd" app:layout_constraintStart_toStartOf="@id/guideLineStart" app:layout_constraintTop_toBottomOf="@+id/viewPagerSlide" app:skeletonViewHolderAmount="10" tools:itemCount="10" tools:listitem="@layout/home_item_category" app:skeletonViewHolderItem="@layout/home_item_category" app:skeletonViewHolderTruncate="true" />

//Set Adapter binding.recyclerViewCategory.layoutManager = LinearLayoutManager(requireContext(),RecyclerView.HORIZONTAL,false) binding.recyclerViewCategory.adapter = homeCategoryAdapter binding.recyclerViewCategory.addItemDecoration(SpacesLeftItemDecoration(20)) Screenshot_1621066141

Thanks in advanced Jaydeep Dhamecha

jay530 avatar May 15 '21 08:05 jay530