Overview
The Avtar extension allows you to create avatars for profile pictures using various APIs. You can generate avatars based on names, text, animals, or robots.
Usage
Integrate the extension into your Kodular project and use the following functions:
SetColorAvtar
Description: Sets the profile picture using the Multiavatar API.
Input: Image imageComponent, String name
Output: Sets the image of the provided Image component.
SetTextAvtar
Description: Sets a text-based profile picture using the UI Avatars API.
Input: Image imageComponent, String name, int size, String backgroundColor, String textColor
Output: Sets the image of the provided Image component with customizable parameters.
SetAnimalAvtar
Description: Sets the profile picture using the Anonymous Animals API.
Input: Image imageComponent, String username
Output: Sets the image of the provided Image component. Note: This avatar may appear as a white image if the username does not have an associated animal avatar.
SetRoboAvtar
Description: Sets the profile picture using the RoboHash API.
Input: Image imageComponent, String username
Output: Sets the image of the provided Image component.
Demo Screenshots
Download
Download the Avtar extension and demos:
Download Demo APK