Esempio n. 1
0
        public bool OnSuggestionClick(int position)
        {
            var args = new SuggestionEventArgs(position);

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

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

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

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

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

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