ShinobiControls Xamarin Bindings Documentation

ShinobiControls.Android.Grids : ShinobiControls.Android.Grids.Supplement Namespace

ItemSingleTapDetector Class

An implementation of that responds to single tap gestures made on items within the grid.

Syntax

[Android.Runtime.Register("com/shinobicontrols/grids/supplement/ItemSingleTapDetector", DoNotGenerateAcw=true)]
public sealed class ItemSingleTapDetector : Java.Lang.Object, Android.Support.V7.Widget.RecyclerView.IOnItemTouchListener, IDisposable

Remarks

An implementation of that responds to single tap gestures made on items within the grid. It is given a ShinobiControls.Android.Grids.Supplement.ItemSingleTapDetector.ICallback which determines what action should be taken when a single tap occurs.

This listener will not swallow the touch event. That is, if the View for the item that has been single tapped has its own this will also be called.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

Members

See Also: Inherited members from Java.Lang.Object.

Public Constructors

Documentation for this section has not yet been entered.

Protected Properties

[read-only]
override
ThresholdClass IntPtr . This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdType Type . This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Member Details

ItemSingleTapDetector Constructor

Documentation for this section has not yet been entered.

Syntax

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public ItemSingleTapDetector (Android.Content.Context context)

Parameters

context
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

OnInterceptTouchEvent Method

Syntax

[Android.Runtime.Register("onInterceptTouchEvent", "(Landroid/support/v7/widget/RecyclerView;Landroid/view/MotionEvent;)Z", "")]
public bool OnInterceptTouchEvent (Android.Support.V7.Widget.RecyclerView p0, Android.Views.MotionEvent p1)

Parameters

p0
Documentation for this section has not yet been entered.
p1
Documentation for this section has not yet been entered.

Returns

Remarks

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

OnRequestDisallowInterceptTouchEvent Method

Syntax

[Android.Runtime.Register("onRequestDisallowInterceptTouchEvent", "(Z)V", "")]
public void OnRequestDisallowInterceptTouchEvent (bool disallowIntercept)

Parameters

disallowIntercept
Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

OnTouchEvent Method

Syntax

[Android.Runtime.Register("onTouchEvent", "(Landroid/support/v7/widget/RecyclerView;Landroid/view/MotionEvent;)V", "")]
public void OnTouchEvent (Android.Support.V7.Widget.RecyclerView p0, Android.Views.MotionEvent p1)

Parameters

p0
Documentation for this section has not yet been entered.
p1
Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

SetCallback Method

Documentation for this section has not yet been entered.

Syntax

[Android.Runtime.Register("setCallback", "(Lcom/shinobicontrols/grids/supplement/ItemSingleTapDetector$Callback;)V", "")]
public void SetCallback (ItemSingleTapDetector.ICallback callback)

Parameters

callback
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

SetChildViewFinder Method

Syntax

[Android.Runtime.Register("setChildViewFinder", "(Lcom/shinobicontrols/grids/supplement/ChildViewFinder;)V", "")]
public void SetChildViewFinder (IChildViewFinder childViewFinder)

See Also

DirectlyUnderChildViewFinder

Parameters

childViewFinder
- the ShinobiControls.Android.Grids.Supplement.IChildViewFinder this ShinobiControls.Android.Grids.Supplement.ItemDragDetector should use

Remarks

Sets the ShinobiControls.Android.Grids.Supplement.IChildViewFinder

for this ShinobiControls.Android.Grids.Supplement.ItemSingleTapDetector

. This defines the way child views are searched for. For example, you may want to find the nearest View to a given X and Y co-ordinate thus including any space for gridlines into this calculation.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

ThresholdClass Property

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Syntax

protected override IntPtr ThresholdClass { get; }

Value

A IntPtr which contains the java.lang.Class JNI value corresponding to this type.

Remarks

This property is used to control which jclass is provided to methods like Android.Runtime.JNIEnv.CallNonVirtualVoidMethod.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

ThresholdType Property

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Syntax

protected override Type ThresholdType { get; }

Value

A Type which provides the declaring type.

Remarks

This property is used to control virtual vs. non virtual method dispatch against the underlying JNI object. When this property is equal to the declaring type, then virtual method invocation against the JNI object is performed; otherwise, we assume that the method was overridden by a derived type, and perform non-virtual methdo invocation.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0