Global Customization

LAST EDIT Apr 26 2021

The SDK provides two main entry points for global customization:

  • The ChatUI class to override fonts, url signing logic, etc.

  • The TransformStyle class to override view attributes programmatically.

Global View Style Customization


If you want to customize view styles programmatically you can override corresponding StyleTransformer in the TransformStyle class:

A list of all available transformers can be found here.

The transformers affect every view in the application. For example, in the code snippet above online indicator color is overriden for every view which contains avatar view.