Collapsible pane in python mobile app

Hi Team,
I am working on mobile application development using python and kivymd, creating a collapsible pane inside of a pane I will be having a list similar to WhatsApp chat Can you share me sample code with. Is there any other option to other this option other than kivymd to develop this app.

Pavan K