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

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

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

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

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

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

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