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 -->
I need to use SwipePlaceHolderView to display cards consisting of only text. I would like the text to span over as much width as possible (90% of screen width). I tried the following method, but the card is acting weirdly: It's wider when I swipe the card to the left and is narrower when I swipe the card to the right. Consequently this makes the TextView to often change text wrap. Am I doing something wrong?
I need to use SwipePlaceHolderView to display cards consisting of only text. I would like the text to span over as much width as possible (90% of screen width). I tried the following method, but the card is acting weirdly: It's wider when I swipe the card to the left and is narrower when I swipe the card to the right. Consequently this makes the TextView to often change text wrap. Am I doing something wrong?
MainActivity.kt
card_layout.xml