Class ShadowFontsFontFamily
java.lang.Object
org.robolectric.shadows.ShadowFontsFontFamily
Shadow for
FontFamily.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FontgetFont(int index) The realFontFamily.getFont(int)calls into native code, so it needs to be shadowed to prevent an NPE.
-
Constructor Details
-
ShadowFontsFontFamily
public ShadowFontsFontFamily()
-
-
Method Details
-
getFont
The realFontFamily.getFont(int)calls into native code, so it needs to be shadowed to prevent an NPE.
-