story Analytics Clicked
open fun storyAnalyticsClicked(momentsStory: MomentsStory?, stats: MomentsAnalytics?, analyticsType: AnalyticsType, showCustomAnalyticsView: (View) -> Unit)
Content copied to clipboard
This function will let you know that a user clicked an analytic button of a Storyly Moments story. You can show your custom view on this callback for impressions and likes. You should set isCustomAnalyticsView to true in MomentsThemeConfig in order to use this function
Parameter momentsStory: Story in which the user user clicked the icon
Parameter stats: Like and impression stats of story
Parameter showAnalyticsDialog: When you want to show default MomentsAnalyticsDialog invoke this lambda. You don't need to call this lambda if you want to show custom view.