CSLA helper to be used in place of the normal Xamarin Android activity that contains a reference to a CSLA ViewModel and a BindingManager. More...
Protected Member Functions | |
override void | OnCreate (Bundle bundle) |
Event that occurs when the activity is created. More... | |
byte[] | SerilizeModelForParameter () |
Serializes the ViewModel's model property using the SerializationFormatterFactory.GetFormatter(). More... | |
byte[] | SerilizeModelForParameter (object model) |
Serialized the provided model using the SerializationFormatterFactory.GetFormatter(). More... | |
object | DeserializeFromParameter (byte[] parameter) |
Takes a byte array and uses the MobileFormatter to reconstitute it into a model reference. More... | |
Protected Attributes | |
T | viewModel = null |
A reference to the view model. More... | |
BindingManager | Bindings = null |
The BindingManager for this Activity. More... | |
CSLA helper to be used in place of the normal Xamarin Android activity that contains a reference to a CSLA ViewModel and a BindingManager.
T | A type that inherits from the ViewModel. |
Z | The type that is defined as used by T. |
T | : | ViewModel<Z> |
Definition at line 22 of file ActivityBase.cs.
|
protected |
Takes a byte array and uses the MobileFormatter to reconstitute it into a model reference.
parameter | An array of bytes to deserialized. |
Definition at line 68 of file ActivityBase.cs.
|
protected |
Event that occurs when the activity is created.
bundle | Information about the activities creation. |
Definition at line 38 of file ActivityBase.cs.
|
protected |
Serializes the ViewModel's model property using the SerializationFormatterFactory.GetFormatter().
Used to serialize and transfer models between activities.
Definition at line 48 of file ActivityBase.cs.
|
protected |
Serialized the provided model using the SerializationFormatterFactory.GetFormatter().
Used to serialize and transfer models between activities.
model | A reference to the model to serialize. |
Definition at line 58 of file ActivityBase.cs.
|
protected |
The BindingManager for this Activity.
Definition at line 32 of file ActivityBase.cs.
|
protected |
A reference to the view model.
Definition at line 27 of file ActivityBase.cs.