linkedin / Spyglass

A library for mentions on Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to delete/remove mention when unchecked via checkbox?

desaibijon opened this issue · comments

Hi,

I am working on a feature, where we add mentions to RichEditorView when user clicks on a checkbox from an available list of mentions.

I want to implement a thing where the mention would be deleted when user unchecked the checkbox corresponding to the respective mention.

I tried looking into the already existing code, but can't seem to figure it out.

I am aware of onMentionDeleted() but that method is called when a mention is deleted from RichEditorView, I want to implement something that deletes a mention from RichEditorView.

I see a similar thing happening with LinkedIn Android app, but I can't seem to determine how I can perform this.

Thanks.