Giter Site home page Giter Site logo

udaraalwis / xfshelltemplatedemoapp Goto Github PK

View Code? Open in Web Editor NEW
3.0 5.0 4.0 1.81 MB

Well structured, Xamarin.Forms Shell App Template

Home Page: https://theconfuzedsourcecode.wordpress.com/2020/04/01/restructuring-the-xamarin-forms-shell-default-app-template/

License: GNU General Public License v3.0

C# 100.00%
xamarin-forms xamarin xamarin-forms-shell template mvvm demo-app

xfshelltemplatedemoapp's Introduction

Restructured Xamarin.Forms Shell App Template...

Let’s restructure the default project Template for Xamarin.Forms Shell Apps provided by Visual Studio 2019, clean it up, optimize it for the best use of Shell features. ;)

Blog post: https://theconfuzedsourcecode.wordpress.com/2020/04/01/restructuring-the-xamarin-forms-shell-default-app-template/

The goal here is to adopt only Xamarin.Forms Shell related implementation, features, and practices into the default Template, so it gives a clear, easy to understand, straight forward view of using Xamairn.Forms Shell to build apps. Thinking in terms of simplest terms, decoupled components with clean and readable code, we need to reflect the best practices of Xamarin.Forms in the Template. ;)

Step by step:

  • Step 1: Cleaning up Colors and Styles…
  • Step 2: BaseViewModel to Infrastructure!
  • Step 3: BindingContext in the Constructor()
  • Step 4: Clean up ItemDetailViewModel!
  • Step 5: Setting up Query Parameters…
  • Step 6: Use proper Shell Navigation!
  • Step 7: Set up NewItemViewModel!
  • Step 8: Use proper Modal Navigation!
  • Step 9: Overall code quality clean up…

Xamarin.Forms Shell is actually an awesome new paradigm to build Xamarin.Forms app, but honestly the VS2019 Template project could really use some proper restructuring for making it easier and straight forward for the beginners to start off. ;)

iOS in action:


Android in action:


xfshelltemplatedemoapp's People

Contributors

udaraalwis avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.