Class Util
Inheritance
System.Object
Util
Namespace: Com.Telerik.Android.Common
Assembly: Telerik.Xamarin.Android.Common.dll
Syntax
public class Util : Object
Constructors
Util()
Declaration
public Util()
Util(IntPtr, JniHandleOwnership)
Declaration
protected Util(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
System.IntPtr
javaReference
|
Android.Runtime.JniHandleOwnership
transfer
|
Properties
JniPeerMembers
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Java.Interop.JniPeerMembers
|
ThresholdClass
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
System.IntPtr
|
ThresholdType
Declaration
protected override Type ThresholdType { get; }
Property Value
System.Type
|
Methods
ConvertToRectF(RadRect)
Declaration
public static RectF ConvertToRectF(RadRect rect)
Parameters
RadRect
rect
|
Returns
Android.Graphics.RectF
|
CreateViewFromXML(Int32, Class, Context)
Declaration
public static Object CreateViewFromXML(int layoutId, Class resultType, Context context)
Parameters
System.Int32
layoutId
|
Java.Lang.Class
resultType
|
Android.Content.Context
context
|
Returns
Java.Lang.Object
|
Equals(Object, Object)
Declaration
public static bool Equals(Object obj1, Object obj2)
Parameters
Java.Lang.Object
obj1
|
Java.Lang.Object
obj2
|
Returns
System.Boolean
|
GenerateDummyText(String)
Declaration
public static string GenerateDummyText(string text)
Parameters
System.String
text
|
Returns
System.String
|
GenerateViewId()
Declaration
public static int GenerateViewId()
Returns
System.Int32
|
GetDimen(Int32, Single)
Declaration
public static float GetDimen(int type, float dimen)
Parameters
System.Int32
type
|
System.Single
dimen
|
Returns
System.Single
|
GetDP(Single)
Declaration
public static int GetDP(float dp)
Parameters
System.Single
dp
|
Returns
System.Int32
|
GetLayoutPart(Activity, Int32, Class)
Declaration
public static Object GetLayoutPart(Activity parent, int partId, Class resultType)
Parameters
Android.App.Activity
parent
|
System.Int32
partId
|
Java.Lang.Class
resultType
|
Returns
Java.Lang.Object
|
GetLayoutPart(Activity, Int32, Class, Boolean)
Declaration
public static Object GetLayoutPart(Activity parent, int partId, Class resultType, bool throwException)
Parameters
Android.App.Activity
parent
|
System.Int32
partId
|
Java.Lang.Class
resultType
|
System.Boolean
throwException
|
Returns
Java.Lang.Object
|
GetLayoutPart(View, Int32, Class)
Declaration
public static Object GetLayoutPart(View parent, int partId, Class resultType)
Parameters
Android.Views.View
parent
|
System.Int32
partId
|
Java.Lang.Class
resultType
|
Returns
Java.Lang.Object
|
GetLayoutPart(View, Int32, Class, Boolean)
Declaration
public static Object GetLayoutPart(View parent, int partId, Class resultType, bool throwException)
Parameters
Android.Views.View
parent
|
System.Int32
partId
|
Java.Lang.Class
resultType
|
System.Boolean
throwException
|
Returns
Java.Lang.Object
|
GetSP(Single)
Declaration
public static int GetSP(float sp)
Parameters
System.Single
sp
|
Returns
System.Int32
|
IsNullOrEmpty(String)
Declaration
public static bool IsNullOrEmpty(string value)
Parameters
System.String
value
|
Returns
System.Boolean
|
RectFToRect(RectF)
Declaration
public static Rect RectFToRect(RectF rect)
Parameters
Android.Graphics.RectF
rect
|
Returns
Android.Graphics.Rect
|
ToString(Object)
Declaration
public static string ToString(Object object)
Parameters
Java.Lang.Object
object
|
Returns
System.String
|