janishar / PlaceHolderView

This library provides advance views for lists and stacks. Some of the views are build on top of RecyclerView and others are written in their own. Annotations are compiled by annotation processor to generate bind classes. DOCS -->
http://janishar.com/PlaceHolderView
Apache License 2.0
2.11k stars 369 forks source link

Can I set card length longer than default screen size using scroll view? #148

Open dhruvgajwa opened 5 years ago

dhruvgajwa commented 5 years ago

Is there any way for cards to be longer than default screen length? I tried applying scrollview inside frame layout and setting only horizontal swipe! but this didn't seem to work! Any help would be appreciated. And thank you so much for this awesome library!

janishar commented 5 years ago

@dhruvgajwa Refer this: https://medium.com/@janishar.ali/modifying-android-tinder-swipe-view-example-to-support-auto-resize-94f9c64f641e

Try using this to see if it works:

 .setViewWidth(...)
 .setViewHeight(...)