Skip to content
Prajjwal edited this page Feb 15, 2016 · 4 revisions

BaseViewModel

  • RaisePropertyChangedBase() : Used to raise the property change in two properties: ThemeColor and UserName

  • UniversalSettingsRetriever() : Retrieves the settings from Roaming and Local Storage on the app startup.

  • NotifyMe() : Listens to all sent Messages from other ViewModels.


HomePageViewModel

  • LocationAccessor() : Retrieves the location on app startup

  • ProfileSetter() : Retrieves profile pic of the user from the Roaming Storage on app startup

  • EllipseTapped() : Binded to the tapped event of the profile pic at HomePage. Overwrites the profile picture of the user.

  • SpineInitializer() : Initializes the CallingInfoASync() method of SpineClass. This retrieves the information of the phone lines available on the phone.

  • ThemeInitializer() : Retrieves the set theme from Roaming and Local Storage.


CallandSettingsPageViewModel

  • BackgroundProcessRegister() : Registers a Toast Notification Background Task which when launched adds a ghost toast every 500 minutes.

  • BackgroundProcessRemover() : Removes the Toast Notification Background Task.

  • EditContactButtonHandler() : Handles the Button Click event on Contacts Edit Buttons.

  • LocalStorageSettingsRetriever() : Retrieves the Names of Contacts, status of social network connections and status of toast notification.

  • PasswordVaultRetrieverMethod() : Retrieves the status of Social Integrations from the password vault and sets the add or remove icons in Settings Page.

  • PasswordVaultRemoverMethod() : Removes the specified social integration from Password Vault and app.

  • ToastMakerToggledButton() : Handles the toggled event of ToastMaker Toggle Button.

  • ThemeChangerToggedButton() : Changes the theme of the app.

  • UserNameSaver() : Sends a message to BaseViewModel to update the username in whole app.


ReminderPageViewModel

  • ReminderRegister() : Registers the Reminder.

  • ReminderRemover() : Removes the set Reminder.


SpineClass


SosPageViewModel

  • TimerStarter() : Starts the Timer.

  • LocationAccesser() : Retrieves the current location.

  • MessageSender() : Sends the emergency message to selected contacts.

  • Caller() : Starts a call with the highest priority contacts.


Clone this wiki locally