Package io.rong.imkit.feature.mention

## Class DraftHelper

- All Implemented Interfaces:

      public class DraftHelper

  Created by luoyanlong on 2018/11/23. 保存草稿时如果有@信息，把MentionBlock序列化保存起来， 之后可通过反序列化添加到RongMentionManager中

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DraftHelper()` |
    `DraftHelper(EditText editText)` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getMentionBlocks()` |
    `String` | `getMentionBlocks(EditText editText)` |
    `void` | `addMentionBlocks(String mentionInfo)` |
    `void` | `addMentionBlocks(EditText editText, String mentionInfo)` |
    `void` | `addMentionBlocks(EditText editText, List<MentionBlock> mentionBlocks)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DraftHelper

          DraftHelper()

    - #### DraftHelper

          DraftHelper(EditText editText)

  - ### Method Detail

    - #### getMentionBlocks

           String getMentionBlocks()

    - #### getMentionBlocks

           String getMentionBlocks(EditText editText)

    - #### addMentionBlocks

           void addMentionBlocks(String mentionInfo)

    - #### addMentionBlocks

           void addMentionBlocks(EditText editText, String mentionInfo)

    - #### addMentionBlocks

           void addMentionBlocks(EditText editText, List<MentionBlock> mentionBlocks)