Skip to main content
PESDK/Android/Guides/Stickers

Custom Stickers

PhotoEditor SDK for Android allows showing a custom fragment for sticker selection

Custom sticker fragment#

A CustomStickerCategoryItem can be used to specify a subclass of CustomStickersFragment that is automatically added to the view hierarchy when the category is selected.

The selected sticker can then be added to the canvas by calling the CustomStickerSelectedListener.onStickerSelected() method. The sticker will be embedded in the serialization if it was not removed from the canvas before the export.

Refer to our configuration guide on how to add your custom sticker fragment.