C# Класс Mvvm.Android.PageFactory

A class for triggering our UI parsing when changing pages
Показать файл Открыть проект

Открытые методы

Метод Описание
PageFactory ( ViewBindingParser viewBindingParser ) : Android.App
PageFactory ( ViewTokenizer viewBindingParser, TokenWalker tokenWalker ) : System
TransitionToPage ( Android.App.Activity page ) : void

Move from one page to the next by unloading the bindings on the current page, then loading the new bindings.

TransitionToPage ( MemoryStream page ) : void

Move from one page to the next by unloading the bindings on the current page, then loading the new bindings.

Приватные методы

Метод Описание
GetInstance ( Type type ) : IVisitor
Load ( Android.Views page ) : void

If the bindings for the page being loaded are not already cached, then 1) store the page we are on. 2) convert the xml UI into an element based object model representing the hierarchy and binding information of the UI. 3) parse the page being loaded by calling the parser and telling it to start. The parser will create the binding by calling the PageBindingFactory

Load ( MemoryStream page ) : void

If the bindings for the page being loaded are not already cached, then 1) store the page we are on. 2) convert the xml UI into an element based object model representing the hierarchy and binding information of the UI. 3) parse the page being loaded by calling the parser and telling it to start. The parser will create the binding by calling the PageBindingFactory

Unload ( ) : void

Put the bindings into an inactive state so that they are inactive while sitting in cache. 1) If there is no page currently then we can't unload the page. (No exception thrown)

Описание методов

PageFactory() публичный Метод

public PageFactory ( ViewBindingParser viewBindingParser ) : Android.App
viewBindingParser Mvvm.Android.View.ViewBindingParser
Результат Android.App

PageFactory() публичный Метод

public PageFactory ( ViewTokenizer viewBindingParser, TokenWalker tokenWalker ) : System
viewBindingParser Mvvm.Android.View.ViewTokenizer
tokenWalker TokenWalker
Результат System

TransitionToPage() публичный Метод

Move from one page to the next by unloading the bindings on the current page, then loading the new bindings.
public TransitionToPage ( Android.App.Activity page ) : void
page Android.App.Activity
Результат void

TransitionToPage() публичный Метод

Move from one page to the next by unloading the bindings on the current page, then loading the new bindings.
public TransitionToPage ( MemoryStream page ) : void
page System.IO.MemoryStream
Результат void