AndroidVeil icon indicating copy to clipboard operation
AndroidVeil copied to clipboard

how to LinearLayoutManager is LinearLayoutManager.HORIZONTAL

Open sangnguyen-it opened this issue 4 years ago • 4 comments

Is your feature request related to a problem? I changed LinearLayoutManager.HORIZONTAL but it didn't work

Describe the solution you'd like: holder.binding.recyclerViewContent.run { setVeilLayout(R.layout.item_home_feature_shimmer) setAdapter(featureHorizontalAdapter) setLayoutManager(LinearLayoutManager(context, LinearLayoutManager.HORIZONTAL, false)) addVeiledItems(2) }

thanks admin

sangnguyen-it avatar Jan 10 '21 03:01 sangnguyen-it

Actually, it is not supporting the HORIZONTAL now but I will consider adding the HORIZONTAL. Thanks for your issue :)

skydoves avatar Jan 10 '21 08:01 skydoves

This should be stated in the Readme!

G00fY2 avatar Mar 16 '21 12:03 G00fY2

Any ETA on this?

Jigar-zest avatar Aug 17 '22 11:08 Jigar-zest

@skydoves do I see it correctly that you would have to set different layout params in the VeilLayout:addMaskElements to allow for horizontal alignment? Is this something you would accept a PR for?

avalanchas avatar Jan 23 '24 15:01 avalanchas