Class UnbluNavUtil

java.lang.Object
com.unblu.sdk.core.ui.UnbluNavUtil

public class UnbluNavUtil extends Object
A helper class to retrieve the UnbluNav implementation from a given View instance.
  • Constructor Details

    • UnbluNavUtil

      public UnbluNavUtil()
  • Method Details

    • 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.