Package 

Class CustomFontProvider

  • All Implemented Interfaces:
    com.revenuecat.purchases.ui.revenuecatui.fonts.FontProvider

    
    public final class CustomFontProvider
     implements FontProvider
                        

    Class that allows to provide a font family for all text styles.

    • Constructor Summary

      Constructors 
      Constructor Description
      CustomFontProvider(FontFamily fontFamily)
    • Method Summary

      Modifier and Type Method Description
      FontFamily getFont(TypographyType type) Returns the font to be used for the given TypographyType.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CustomFontProvider

        CustomFontProvider(FontFamily fontFamily)
        Parameters:
        fontFamily - the FontFamily to be used for all text styles.