This repository was archived by the owner on Nov 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Libraries
José Pereira edited this page Sep 30, 2018
·
8 revisions
Includes base classes for views and view models, and some features and accelerators for more common usage in apps.
-
Attributes
-
DependsOnAttribute.cs: Allows the configuration of properties and/or methods to react on
PropertyChangeEventof a specific property -
PropagateCollectionChangeAttribute.cs: Allows to configure a property (of type
ObservableCollection) to fire thePropertyChangeEventwhen a itsCollectionChangedEventoccurs -
SingletonViewModelAttribute.cs: Used with the
SingletonViewModelLocator, enables to mark a viewmodel to be registered as singleton -
StringValueAttribute.cs: Simple attribute class for storing
stringValues
-
DependsOnAttribute.cs: Allows the configuration of properties and/or methods to react on
- Extensions Set of methods to accelerate the usage of common functionalities
-
Models
- Color.cs: Predefined colors
-
DependencyInfo.cs: Representation of an dependency injected by the use of the
DependsOnAttribute -
LocalizableModel.cs: Wrapper for the
Modelwith support for localized text resources - LongRunnigNotificationSaveBundle.cs: Bundle used to persist long running subscriptions
- LongRunningSubscriptionToken.cs: Subscription token for long running subscriptions (longer lifecycle)
-
Model.cs: Wrapper for the
MvxNotifyPropertyChangedwith the implementation ofIDisposable - TupleKeyValue.cs: Wrapper of the Tupple class, configured to have a key and a value
-
Services
-
LanguageBinder Provides a override for the
MvxLanguageBinder
-
LanguageBinder Provides a override for the
-
Statics
-
NavigationModes.cs: Identifiers used for the navigation extensions that provide
ClearStackandRemoveSelf
-
NavigationModes.cs: Identifiers used for the navigation extensions that provide
-
ViewModels
-
SingletonViewModelLocator.cs: Implementation of the viewmodel locator that supports the usage of the
SingletonViewModelAttribute - ViewModel.cs: Base class to be inherited by viewmodels. It contains several base implementations that allow to normalize behaviour across the app. It handles propertychanged notifications propagation (see: PropertyChanged Event Propagation). It provides notification subscription and managment and also gives access to resource localization.
-
SingletonViewModelLocator.cs: Implementation of the viewmodel locator that supports the usage of the
-
Application.cs: Inherits from MvxApplication and configures the app to use the
SingletonViewModelLocator
-
Components: Base folder where custom Bindings, Tagrets and Controls can be found
- Binding: Binding registration related classes
-
Controls: Home of custom controls
- DecimalEditText: Control that handles decimal values
- NumericEditText: Control that handles integer values
- Targets: Several targets for base and custom controls
-
Extensions
- WeakSubscriptionExtensions.cs: Enables weak subscriptions of events. Will be improved by new event subscriptions that are identified as useful to have here.
-
Presenters
-
AndroidViewPresenter.cs: Inherits from
MvxAndroidPresenterand provides the implementation for theClearStackandRemoveSelfnavigation modes. Used by default in theAndroidSetup.cs
-
AndroidViewPresenter.cs: Inherits from
- Resources: Contains several resources used in the controls
-
Setup
- AndroidSetup.cs: Inherits from MvxAndroidSetup, and it registers the custom targets and controls
-
Support
-
V7
-
Presenters
-
AndroidAppCompatViewPresenter.cs: Inherits from
MvxAppCompatViewPresenterand provides the implementation for theClearStackandRemoveSelfnavigation modes. Used by default in theAndroidAppCompatSetup.cs
-
AndroidAppCompatViewPresenter.cs: Inherits from
-
Setup
-
AndroidAppCompatSetup.cs: Inherits from
MvxAppCompatSetup, and registers the custom targets and controls
-
AndroidAppCompatSetup.cs: Inherits from
-
Views
-
AppCompatActivityBase.cs: Inherits from
AppCompatActivityBaseand provides out of the box behaviour control implementation for the common funcionalities provided in the viewmodel base class, including handling of generic message subscription, and also promp messages. It also provides notification managment and context options management.
-
AppCompatActivityBase.cs: Inherits from
-
AppCompatApplication.cs: Inherits from
AppCompatApplicationand enbales the usage of anAndroidAppCompatSetup
-
Presenters
-
V7
-
Views
-
ActivityBase.cs: Inherits from
MvxApplicationand provides out of the box behaviour control implementation for the common funcionalities provided in the viewmodel base class, including handling of generic message subscription, and also promp messages. It also provides notification managment and context options management. - DialogCancelListener.cs: Cancel listener used in the prompt dialogs
-
ActivityBase.cs: Inherits from