android - How can I build a multi-level expandable navigate UI? -


i want build menu restaurant. tablet app, not on phone. ui requires 3 parts. left 1 desired 2-level expandable navigation. when client click 1 first-level item, system displays second-level items. when client change 1 first-level item, new 1 expand , old 1 automatically close. while client click second-level item, middle part display dishes in category. please refer picture. main ui

then, how should design these parts? can put in 1 activity? or put 3 fragments 3 parts? don't know if there differences of loading , refresh efficiency between 2 ways.

expandable navigation

expandable navigation

shopping cart click

fragment

first 3 functions in 2 pieces


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -