Forum Xamarin.Forms

Create a menu with sub menus in one option using MasterDetailPage

RilinRilin Member ✭✭

Hello,

I'm doing a menu using master detail page. And I need to add submenus only in one of the options.
I have looked at grouping in listviews, but that would work if every option have sub menus.

What would be the best way to do this?

Thanks

Answers

  • DarshanJSDarshanJS USMember ✭✭✭✭
    edited March 2018

    @Rilin said:
    Hello,

    I'm doing a menu using master detail page. And I need to add submenus only in one of the options.
    I have looked at grouping in listviews, but that would work if every option have sub menus.

    What would be the best way to do this?

    Thanks

    You can try as in this link
    http://www.compliancestudio.io/blog/xamarin-forms-expandable-listview

  • RilinRilin Member ✭✭

    Thanks for anwsering, but that example uses grouping and I only have submenus in one option.
    I tried to use the header as links, but I didn't get them to work.

  • sagarsagar Member ✭✭✭

    @Rilin, Any solution to this problem?

  • RilinRilin Member ✭✭

    @sagar said:
    @Rilin, Any solution to this problem?

    In the end, what I did was to insert or remove from the list the submenus when the option is selected.

Sign In or Register to comment.