I tried using this github repo (https://github.com/yuyakaido/CardStackView) in my android app but I couldn't get it to work.
val cardStackView = findViewById<CardStackView>(R.id.card_stack_view)
cardStackView.layoutManager = CardStackLayoutManager()
cardStackView.adapter = CardStackAdapter()
The setup code in the documentation no longer works fully. The first line works but the second and third lines result in errors
cardStackView.layoutManager = CardStackLayoutManager(this)
I used this line as a replacement for the second line but I am not sure whether it works or not because I could not find how to add cards to the stack to test it
I have tried searching for a solution myself but I did not find anything useful
Does anyone who know how to properly setup the card stack and add cards to it in the latest version?