DataChangeObserver.java 2.24 KB
Newer Older
Mattia's avatar
Mattia committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
package crc643f46942d9dd1fff9;


public class DataChangeObserver
	extends android.support.v7.widget.RecyclerView.AdapterDataObserver
	implements
		mono.android.IGCUserPeer
{
/** @hide */
	public static final String __md_methods;
	static {
		__md_methods = 
			"n_onChanged:()V:GetOnChangedHandler\n" +
			"n_onItemRangeInserted:(II)V:GetOnItemRangeInserted_IIHandler\n" +
			"n_onItemRangeChanged:(II)V:GetOnItemRangeChanged_IIHandler\n" +
			"n_onItemRangeChanged:(IILjava/lang/Object;)V:GetOnItemRangeChanged_IILjava_lang_Object_Handler\n" +
			"n_onItemRangeRemoved:(II)V:GetOnItemRangeRemoved_IIHandler\n" +
			"n_onItemRangeMoved:(III)V:GetOnItemRangeMoved_IIIHandler\n" +
			"";
		mono.android.Runtime.register ("Xamarin.Forms.Platform.Android.DataChangeObserver, Xamarin.Forms.Platform.Android", DataChangeObserver.class, __md_methods);
	}


	public DataChangeObserver ()
	{
		super ();
		if (getClass () == DataChangeObserver.class)
			mono.android.TypeManager.Activate ("Xamarin.Forms.Platform.Android.DataChangeObserver, Xamarin.Forms.Platform.Android", "", this, new java.lang.Object[] {  });
	}


	public void onChanged ()
	{
		n_onChanged ();
	}

	private native void n_onChanged ();


	public void onItemRangeInserted (int p0, int p1)
	{
		n_onItemRangeInserted (p0, p1);
	}

	private native void n_onItemRangeInserted (int p0, int p1);


	public void onItemRangeChanged (int p0, int p1)
	{
		n_onItemRangeChanged (p0, p1);
	}

	private native void n_onItemRangeChanged (int p0, int p1);


	public void onItemRangeChanged (int p0, int p1, java.lang.Object p2)
	{
		n_onItemRangeChanged (p0, p1, p2);
	}

	private native void n_onItemRangeChanged (int p0, int p1, java.lang.Object p2);


	public void onItemRangeRemoved (int p0, int p1)
	{
		n_onItemRangeRemoved (p0, p1);
	}

	private native void n_onItemRangeRemoved (int p0, int p1);


	public void onItemRangeMoved (int p0, int p1, int p2)
	{
		n_onItemRangeMoved (p0, p1, p2);
	}

	private native void n_onItemRangeMoved (int p0, int p1, int p2);

	private java.util.ArrayList refList;
	public void monodroidAddReference (java.lang.Object obj)
	{
		if (refList == null)
			refList = new java.util.ArrayList ();
		refList.add (obj);
	}

	public void monodroidClearReferences ()
	{
		if (refList != null)
			refList.clear ();
	}
}