Example #1
0
        public SentimentPage()
        {
            InitializeComponent();

            _viewModel     = new SentimentViewModel();
            BindingContext = _viewModel;

            On <iOS>().SetUseSafeArea(true);
        }
        public SentimentPage()
        {
            InitializeComponent();

            var viewModel = new SentimentViewModel();

            viewModel.SentimentAnalyisFailed += HandleSentimentAnalyisFailed;

            BindingContext = viewModel;

            On <iOS>().SetUseSafeArea(true);
        }