public AccordionPageModel() { SimediaSDK = new SimediaSDK("https://acute360.com/"); instance = this; OnProjectClicked = new Command(ProjectClicked); LoadData(); }
public TaskListPageModel() { sdk = new SimediaSDK("https://acute360.com/"); instance = this; OnTaskClicked = new Command(TaskClicked); OnHelpClicked = new Command(HelpClicked); }
public ProjectListPageModel() { SimediaSDK = new SimediaSDK("https://acute360.com/"); instance = this; OnProjectClicked = new Command(ProjectClicked); OnHelpClicked = new Command(HelpClicked); LoadData(); }
public ActivityService(SimediaSDK sdk) : base(sdk) { _serializerSettings = new JsonSerializerSettings { ContractResolver = new CamelCasePropertyNamesContractResolver(), DateTimeZoneHandling = DateTimeZoneHandling.Utc, NullValueHandling = NullValueHandling.Ignore }; _serializerSettings.Converters.Add(new StringEnumConverter()); }
public AuthenticationService(SimediaSDK sdk) : base(sdk) { _serializerSettings = new JsonSerializerSettings { ContractResolver = new CamelCasePropertyNamesContractResolver(), DateTimeZoneHandling = DateTimeZoneHandling.Utc, NullValueHandling = NullValueHandling.Ignore }; _userAccountRepository = new SingleObjectCacheRepository <Models.UserAccount, Data.RealmModels.UserAccount>(); _serializerSettings.Converters.Add(new StringEnumConverter()); }
public AddTaskListPageModel() { OnAttachClicked = new Command(AttachClicked); speechReconizer = CrossSpeechRecognition.Current; instance = this; speechReconizer .WhenListeningStatusChanged() .Subscribe(x => this.ListenText = x ? "Listening..." : "" ); sdk = new SimediaSDK("https://acute360.com/"); this.speechReconizer = CrossSpeechRecognition.Current; FetchUsernameFromMemory(); Attachment = new ObservableCollection <Attachment>(); PageTitle = TaskContentPageModel.Instance._Activiy.name; }
public TaskContentPageModel() { speechReconizer = CrossSpeechRecognition.Current; speechReconizer .WhenListeningStatusChanged() .Subscribe(x => this.ListenText = x ? "Listening..." : "" ); sdk = new SimediaSDK("https://acute360.com/"); OnTaskEditClicked = new Command(TaskEditClicked); instance = this; this.speechReconizer = CrossSpeechRecognition.Current; SimediaSDK = new SimediaSDK("https://acute360.com/"); Init(TaskListPageModel.Instance.activitySelected); //PageTitle = TaskListPageModel.Instance.activitySelected.name; }
public EditTaskListPageModel() { //_authenticationService = authenticationService; instance = this; speechReconizer = CrossSpeechRecognition.Current; OnAttachClicked = new Command(AttachClicked); speechReconizer .WhenListeningStatusChanged() .Subscribe(x => this.ListenText = x ? "Listening..." : "" ); sdk = new SimediaSDK("https://acute360.com/"); this.speechReconizer = CrossSpeechRecognition.Current; // configure the TapCommand with a method tapCommand = new Command(OnTapped); FetchUsernameFromMemory(); PageTitle = TaskContentPageModel.Instance.AttributesTaskLogSelected.idtasklog.ToString(); Attachments = new ObservableCollection <Attachment>(); Init(TaskContentPageModel.Instance.AttributesTaskLogSelected); }
public AccordionViewPage(ProjectAcute projec, ObservableCollection <Section> list) { instance = this; this.Title = projec.Name; var settings = new ToolbarItem { Icon = "hamburger.png", Command = new Command(this.OpenMenu), }; SimediaSDK = new SimediaSDK("https://acute360.com/"); this.ToolbarItems.Add(settings); var template = new DataTemplate(typeof(TaskListPage)); //var template = new DataTemplate(typeof(DefaultTemplate)); var view = new AccordionView(template); //var view = new Page1(template); view.SetBinding(AccordionView.ItemsSourceProperty, "List"); view.Template.SetBinding(AcuteSectionView.TitleProperty, "Title"); view.Template.SetBinding(AcuteSectionView.DescriptionProperty, "Description"); view.Template.SetBinding(AcuteSectionView.DueDateProperty, "DueDate"); view.Template.SetBinding(AcuteSectionView.ItemsSourceProperty, "List"); //view.BindingContext = new AccordionPageModel(); view.BindingContext = new ViewModel { List = list }; this.Content = view; }
public ProjectEndpoint(SimediaSDK sdk) : base(sdk) { }
public TaskLogEndpoint(SimediaSDK sdk) : base(sdk) { }
public ContentService(SimediaSDK sdk) : base(sdk) { }
public UserEndpoint(SimediaSDK sdk) : base(sdk) { }
public ActivityEndpoint(SimediaSDK sdk) : base(sdk) { }
public EndpointBase(SimediaSDK sdk) { this.Sdk = sdk; }
public override void Init(object initData) { sdk = new SimediaSDK("https://acute360.com/"); FetchUsernameFromMemory(); }