A custom view which can be used to show an un-read indicator on the top right corner. The indicator is drawn as a triangle in half the area of the specified height and width.
Add the below line in the dependency block of your app's build.gradle
implementation("dev.assemblage:unread-indicator:$sdkVersion")
replace $sdkVersion
with the latest version of the SDK
<com.umang.unreadindicator.UnreadIndicator
android:layout_width="12dp"
android:layout_height="12dp"
app:indicatorColor="@color/indicator_color"
/>