-
public class ViewUtilsUtility object for common view-related helpers used across the SDK.
-
-
Method Summary
Modifier and Type Method Description final ViewgetEmptyView(Context context)Returns a placeholder empty View to be shown when no ad is available or fails to load. final ImageButtoncreateStyledButton(Context context, Integer iconRes, Integer size, Integer gravity, Integer marginStart, Integer marginTop, Integer marginEnd, Integer marginBottom, Function0<Unit> onClick)-
-
Method Detail
-
getEmptyView
final View getEmptyView(Context context)
Returns a placeholder empty View to be shown when no ad is available or fails to load.
This view is:
A hidden TextView with empty text.
Centered inside a FrameLayout.
Marked as View.GONE by default.
-
-
-
-