C# Class Cirrious.MvvmCross.Binding.Droid.Views.MvxAdapter

Inheritance: BaseAdapter, IMvxAdapter
Show file Open project: Everbridge/sm-MvvmCross Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GetDropDownView ( int position, Android.Views.View convertView, Android.Views.ViewGroup parent ) : Android.Views.View
GetItem ( int position ) : Java.Lang.Object
GetItemId ( int position ) : long
GetPosition ( object item ) : int
GetRawItem ( int position ) : System.Java.Lang.Object
GetView ( int position, Android.Views.View convertView, Android.Views.ViewGroup parent ) : Android.Views.View
MvxAdapter ( Android.Content.Context context ) : System
MvxAdapter ( Android.Content.Context context, IMvxAndroidBindingContext bindingContext ) : System
NotifyDataSetChanged ( ) : void
NotifyDataSetChanged ( NotifyCollectionChangedEventArgs e ) : void

Protected Methods

Method Description
BindBindableView ( object source, IMvxListItemView viewToUse ) : void
BindSimpleView ( Android.Views.View convertView, object dataContext ) : void
CreateBindableView ( object dataContext, int templateId ) : IMvxListItemView
CreateSimpleView ( object dataContext ) : Android.Views.View
GetBindableView ( Android.Views.View convertView, object dataContext ) : Android.Views.View
GetBindableView ( Android.Views.View convertView, object dataContext, int templateId ) : Android.Views.View
GetSimpleView ( Android.Views.View convertView, object dataContext ) : Android.Views.View
GetView ( int position, Android.Views.View convertView, Android.Views.ViewGroup parent, int templateId ) : Android.Views.View
MvxAdapter ( IntPtr javaReference, JniHandleOwnership transfer ) : System
OnItemsSourceCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
RealNotifyDataSetChanged ( ) : void
SetItemsSource ( IEnumerable value ) : void

Method Details

BindBindableView() protected method

protected BindBindableView ( object source, IMvxListItemView viewToUse ) : void
source object
viewToUse IMvxListItemView
return void

BindSimpleView() protected method

protected BindSimpleView ( Android.Views.View convertView, object dataContext ) : void
convertView Android.Views.View
dataContext object
return void

CreateBindableView() protected method

protected CreateBindableView ( object dataContext, int templateId ) : IMvxListItemView
dataContext object
templateId int
return IMvxListItemView

CreateSimpleView() protected method

protected CreateSimpleView ( object dataContext ) : Android.Views.View
dataContext object
return Android.Views.View

GetBindableView() protected method

protected GetBindableView ( Android.Views.View convertView, object dataContext ) : Android.Views.View
convertView Android.Views.View
dataContext object
return Android.Views.View

GetBindableView() protected method

protected GetBindableView ( Android.Views.View convertView, object dataContext, int templateId ) : Android.Views.View
convertView Android.Views.View
dataContext object
templateId int
return Android.Views.View

GetDropDownView() public method

public GetDropDownView ( int position, Android.Views.View convertView, Android.Views.ViewGroup parent ) : Android.Views.View
position int
convertView Android.Views.View
parent Android.Views.ViewGroup
return Android.Views.View

GetItem() public method

public GetItem ( int position ) : Java.Lang.Object
position int
return Java.Lang.Object

GetItemId() public method

public GetItemId ( int position ) : long
position int
return long

GetPosition() public method

public GetPosition ( object item ) : int
item object
return int

GetRawItem() public method

public GetRawItem ( int position ) : System.Java.Lang.Object
position int
return System.Java.Lang.Object

GetSimpleView() protected method

protected GetSimpleView ( Android.Views.View convertView, object dataContext ) : Android.Views.View
convertView Android.Views.View
dataContext object
return Android.Views.View

GetView() public method

public GetView ( int position, Android.Views.View convertView, Android.Views.ViewGroup parent ) : Android.Views.View
position int
convertView Android.Views.View
parent Android.Views.ViewGroup
return Android.Views.View

GetView() protected method

protected GetView ( int position, Android.Views.View convertView, Android.Views.ViewGroup parent, int templateId ) : Android.Views.View
position int
convertView Android.Views.View
parent Android.Views.ViewGroup
templateId int
return Android.Views.View

MvxAdapter() public method

public MvxAdapter ( Android.Content.Context context ) : System
context Android.Content.Context
return System

MvxAdapter() public method

public MvxAdapter ( Android.Content.Context context, IMvxAndroidBindingContext bindingContext ) : System
context Android.Content.Context
bindingContext IMvxAndroidBindingContext
return System

MvxAdapter() protected method

protected MvxAdapter ( IntPtr javaReference, JniHandleOwnership transfer ) : System
javaReference System.IntPtr
transfer JniHandleOwnership
return System

NotifyDataSetChanged() public method

public NotifyDataSetChanged ( ) : void
return void

NotifyDataSetChanged() public method

public NotifyDataSetChanged ( NotifyCollectionChangedEventArgs e ) : void
e System.Collections.Specialized.NotifyCollectionChangedEventArgs
return void

OnItemsSourceCollectionChanged() protected method

protected OnItemsSourceCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
sender object
e System.Collections.Specialized.NotifyCollectionChangedEventArgs
return void

RealNotifyDataSetChanged() protected method

protected RealNotifyDataSetChanged ( ) : void
return void

SetItemsSource() protected method

protected SetItemsSource ( IEnumerable value ) : void
value IEnumerable
return void