Package com.unblu.sdk.core.ui
Class UnbluNavUtil
- java.lang.Object
-
- com.unblu.sdk.core.ui.UnbluNavUtil
-
public class UnbluNavUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description UnbluNavUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnbluNav
getUnbluNav(android.view.View view)
Retrieves the `UnbluNav` implementation from a given View instance.
-
-
-
Method Detail
-
getUnbluNav
public static UnbluNav getUnbluNav(android.view.View view)
Retrieves the `UnbluNav` implementation from a given View instance. If the View implements `UnbluNav`, it will return the View as `UnbluNav`. If the View does not implement `UnbluNav`, it logs a warning and returns null.- Parameters:
view
- The view instance from which to retrieve the `UnbluNav` implementation.- Returns:
- UnbluNav The `UnbluNav` implementation if found, or null if the View does not implement `UnbluNav`.
- Throws:
java.lang.ClassCastException
- if the View does not implement `UnbluNav`.
-
-