Git Product home page Git Product logo

mvvmcross.flyoutmenu's Introduction

MvvmCross.FlyOutMenu

FlyOutMenu implementation for MvvmCross.

This demo project uses:

https://github.com/jdehlin/Xamarin-Sidebar

https://github.com/Cheesebaron/SlidingMenuSharp

http://blog.ostebaronen.dk/2013/11/getting-support-v7-working-with.html

http://forums.xamarin.com/discussion/10946/does-anyone-know-can-we-use-slidingmenusharp-with-mvvmcross

Big thanks to Jack Dehlin, the creator on Sidebar Navigation component http://components.xamarin.com/view/sidebarnavigation and Tomasz Cielecki (Cheesebaron) for his SlidingMenu port.

Sidebar Navigation component was the starting point for this solution.

In the Core PCL project you will find 3 ViewModels.

RootViewModel (app starting point and menu/content container), HomeViewModel and MenuViewModel.

iOS version follows Sidebar Navigation implementation: RootView MvxController initializes the Sidebar navigation with HomeView and MenuView MvxViewControllers. Both HomeView and MenuView has their own ViewModels so you can use bindings, and, as they are NavigationControllers, you can push View controllers from them.

ScreenShot

ScreenShot

Android version follows the same implementantion with Support Library V7 and MvxFragments: RootView activity initializes the SlidingMenu with HomeView and MenuView MvxFragments. Both HomeView and MenuView fragments has their own ViewModels, so, you can use bindings. Addons folder contains MvxActionBarActivity and MvxSlidingActionBarActivity implementations. You have access to SupportActionBar, inflate menus and follow Android design guide lines plus a fully customizable SlidingMenu.

ScreenShot

ScreenShot

Feel free to download and use!

I don't target Windows Phone. Can you add WP version?

Cheers!

mvvmcross.flyoutmenu's People

Contributors

alexrainman avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.