Exemple #1
0
        public bool OnSuggestionClick(int position)
        {
            var args = new SuggestionEventArgs(position);

            SuggestionClick.Invoke(null, args);
            return(args.IsHandled);
        }
Exemple #2
0
        public bool OnQueryTextSubmit(string query)
        {
            var args = new QueryTextSubmitEventArgs(query);

            QueryTextSubmit.Invoke(null, args);
            return(args.IsHandled);
        }
Exemple #3
0
        public bool OnQueryTextChange(string newText)
        {
            var args = new QueryTextChangeEventArgs(newText);

            QueryTextChange.Invoke(null, args);
            return(args.IsHandled);
        }
Exemple #4
0
        public bool OnMenuItemClick(IMenuItem item)
        {
            var args = new MenuItemClickEventArgs(item);

            MenuItemClick.Invoke(null, args);
            return(args.IsHandled);
        }
Exemple #5
0
        public bool OnEditorAction(TextView v, int actionId, KeyEvent @event)
        {
            var args = new EditorActionEventArgs(actionId, @event);

            EditorAction.Invoke(v, args);
            return(args.IsHandled);
        }
        public bool OnGroupClick(ExpandableListView parent, Views.View v, int groupPosition, long id)
        {
            var args = new GroupClickEventArgs(v, groupPosition, id);

            GroupClick.Invoke(parent, args);
            return(args.IsHandled);
        }
Exemple #7
0
 public void OnRatingChanged(RatingBar ratingBar, float rating, bool fromUser)
 {
     RatingChanged.Invoke(ratingBar, new RatingChangedEventArgs(rating, fromUser));
 }
 public void OnGroupCollapse(int groupPosition)
 {
     GroupCollapse.Invoke(null, new GroupPositionEventArgs(groupPosition));
 }
Exemple #9
0
 public void OnValueChange(NumberPicker picker, int oldVal, int newVal)
 {
     ValueChange.Invoke(picker, new ValueChangeEventArgs(oldVal, newVal));
 }
 public void OnZoom(bool zoomIn)
 {
     Zoom.Invoke(null, new ZoomEventArgs(zoomIn));
 }
Exemple #11
0
 public void OnTimeChanged(TimePicker view, int hourOfDay, int minute)
 {
     TimeChanged.Invoke(view, new TimeChangedEventArgs(hourOfDay, minute));
 }
Exemple #12
0
 public void OnCheckedChanged(RadioGroup @group, int checkedId)
 {
     CheckedChanged.Invoke(@group, new RadioGroupCheckedChangedEventArgs(checkedId));
 }
Exemple #13
0
 public void OnDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth)
 {
     DateChanged.Invoke(view, new DateChangedEventArgs(year, monthOfYear, dayOfMonth));
 }
Exemple #14
0
        public void AfterTextChanged(IEditable editable)
        {
            var args = new AfterTextChangedEventArgs(editable);

            AfterTextChangedAction.Invoke(editable, args);
        }
Exemple #15
0
 public void OnItemSelected(AdapterView <object> adapterView, View.View view, int position, long id)
 {
     ItemSelected.Invoke(adapterView, new ItemSelectedEventArgs(view, position, id));
 }
Exemple #16
0
 public void OnSelectedDayChange(CalendarView view, int year, int month, int dayOfMonth)
 {
     DateChange.Invoke(view, new DateChangedEventArgs(year, month, dayOfMonth));
 }
 public void OnVisibilityChanged(bool visible)
 {
     VisibilityChanged.Invoke(null, new VisibilityChangedEventArgs(visible));
 }
Exemple #18
0
 public void OnScrollStateChanged(AbsListView view, int scrollState)
 {
     ScrollStateChanged.Invoke(view, new ScrollStateChangedEventArgs((ScrollState)scrollState));
 }
Exemple #19
0
 public void OnScrollStateChange(NumberPicker view, int scrollState)
 {
     ScrollStateChanged.Invoke(view, new ScrollStateChangedEventArgs((ScrollState)scrollState));
 }
Exemple #20
0
 public void OnScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount)
 {
     Scroll.Invoke(view, new ScrollEventArgs(firstVisibleItem, visibleItemCount, totalItemCount));
 }
Exemple #21
0
 public void OnMovedToScrapHeap(View.View view)
 {
     MovedToScrapHeap.Invoke(null, new MovedToScrapHeapEventArgs(view));
 }
Exemple #22
0
 public void OnProgressChanged(SeekBar seekBar, int progress, bool fromUser)
 {
     ProgressChanged.Invoke(seekBar, new ProgressChangedEventArgs(progress, fromUser));
 }
 public void OnGroupExpand(int groupPosition)
 {
     GroupExpand.Invoke(null, new GroupPositionEventArgs(groupPosition));
 }
Exemple #24
0
 public void OnTabChanged(string tabId)
 {
     TabChanged.Invoke(null, new TabChangedEventArgs(tabId));
 }