Skip to content
This repository was archived by the owner on Dec 18, 2017. It is now read-only.

Support for coexistence of Classic Xamarin MvvmCross and Xamarin.Forms #49

@thefex

Description

@thefex

I am working at implementing support for coexistence of Classic Xamarin MvvmCross with Xamarin.Forms.

That would give ability for Xamarin.Forms to live along with classic Xamarin (MvvmCross).
Finally it should allow to:

  1. Create Pages with Xamarin.Forms - attached viewmodel should have attribute:
    [MvxAssociatedViewType(MvxViewType.Forms)]
  2. Create classic native views (Mvx...Activity/Page/UIViewController) - attached viewmodel should have attribute:
    [MvxAssociatedViewType(MvxViewType.Classic)]
    All will be handled by special MvxPresenter.

That would give us a chance to write mixed application Forms/Classic API. For things that are easy to implement with Forms (ex. list view with button) - we would go with Forms. For things that are tough/platform-specified/unimplementable in Forms we could use the old, good classic Xamarin.

Besides that in my honest opinion - support of Classic MvvmCross with Forms coexistence brings Forms to right track as a tool which "complements standard API's" instead of "do everything in that"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions