Wednesday, June 12, 2019

Accordion ListView implementation in Xamarin.Forms

Purpose of this blog is to implement listview inside another listview, technically its called as Accordian ListView or Expandable ListView. I didn't find any relevant or useful plugin to implement this in my project. While surfing internet, I found this link https://xamarinexplorer.com/2018/02/17/accordion-listview-in-xamarin-forms/ which helped me to incorporate accordion listview in my project.

In the above reference link, Author has demonstrated the accordion by implementing 2 levels of listview. As per my project requirement that was not sufficient because, my project demanded 3 levels of listview and also header for each listview. So I tried to implement the required extra features in my project with the example present in the above reference link. And mean while I thought of creating a similar app with 3 levels of listview and with header for each listview, so that it may help other developers who are interested in implementing these addition features.

I tried implementing accordion listview both in iOS and Android platforms. Please find the screen recording below:

 AndroidiOS

For source code please refer my github link https://github.com/GovardhanNag/AccordionListView-Xamarin.Forms

Reference:

No comments:

Post a Comment

SSO login using Launcher in .NET MAUI

  Some of the scenarios require to open the external/system browser to perform oAuth 2.0 login and then receive the auth code via redirect U...