AepUIContentProvider
Responsible for retrieving and refreshing data as required by the UI.
Classes implementing this interface will define a strategy to provide content for rendering the UI.
Interface Definition
Kotlin
Copied to your clipboardinterface AepUIContentProvider {suspend fun getContent(): Flow<List<AepUITemplate>>suspend fun refreshContent()}
Methods
getContent
Retrieves the content for the UI.
Returns
The content for the UI as a flow of AepUITemplates.
Syntax
Kotlin
Copied to your clipboardsuspend fun getContent(): Flow<List<AepUITemplate>>
refreshContent
Refreshes the content for the UI. Implementations should update the data into the flow returned by getContent.
Syntax
Kotlin
Copied to your clipboardsuspend fun refreshContent()