Package com.bandyer.android_sdk.utils.provider

Types

Link copied to clipboard
class CachedUserDetailsProvider(userDetailsProvider: UserDetailsProvider) : UserDetailsProvider

This is an utility class useful to setup a cache and re-use the details provided per user. You may invalidate the single user details, all or some. The cache provided by this class will be valid per App session. If you wish for more advanced cache types you may implement your own by implementing and customizing the interface of UserDetailsProvider.

Link copied to clipboard
data class UserDetails : Parcelable

This class represents some user display info. A user can be represented with the following info:

Link copied to clipboard
class UserDetailsDefaultFormatter : UserDetailsFormatter

UserDetailsFormatter default Implementation

Link copied to clipboard
interface UserDetailsFormatter

UserDetailsFormatter interface is used to customize how a user is displayed with a UserDetails object.

Link copied to clipboard
interface UserDetailsProvider

Utility to be used to map user userAlias with a class representation of a user. Load your user synchronously or asynchronously and return result using the listeners provided by the interface.