public void Attach() { if (ChooseAttachment == null) { ChooseAttachment = new ChooseAttachmentViewModel(With, CacheService, EventAggregator, NavigationService, StateService); NotifyOfPropertyChange(() => ChooseAttachment); } BeginOnUIThread(() => ChooseAttachment.Open()); }
public void Attach() { if (ChooseAttachment == null) { ChooseAttachment = new ChooseAttachmentViewModel(With, OpenInlineBot, SendDocument, SendVideo, SendPhoto, SendLocation, OpenContact, CacheService, EventAggregator, NavigationService, StateService); NotifyOfPropertyChange(() => ChooseAttachment); } BeginOnUIThread(() => ChooseAttachment.Open()); }
public void Attach() { BeginOnUIThread(() => ChooseAttachment.Open()); }