Package io.rong.imkit.conversation.extension.component.inputpanel

## Class InputPanel

- All Implemented Interfaces:

      public class InputPanel

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `public enum` | `InputPanel.InputStyle` |

  - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `InputPanel(Fragment fragment, ViewGroup parent, InputPanel.InputStyle inputStyle, ConversationIdentifier conversationIdentifier)` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `EditText` | `getEditText()` |
    `View` | `getRootView()` |
    `void` | `setVisible(int viewId, boolean visible)` |
    `void` | `setInputPanelStyle(InputPanel.InputStyle style)` | 设置 InputPanel 样式.
    `void` | `getDraft()` | 获取草稿 逻辑：编辑草稿 => 普通草稿
    `void` | `getDraftReally(EditMessageConfig config)` | 获取普通草稿
    `void` | `onPause()` |
    `void` | `onDestroy()` |

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

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

- - ### Constructor Detail

    - #### InputPanel

          InputPanel(Fragment fragment, ViewGroup parent, InputPanel.InputStyle inputStyle, ConversationIdentifier conversationIdentifier)

  - ### Method Detail

    - #### getEditText

           EditText getEditText()

    - #### getRootView

           View getRootView()

    - #### setVisible

           void setVisible(int viewId, boolean visible)

    - #### setInputPanelStyle

           void setInputPanelStyle(InputPanel.InputStyle style)

      设置 InputPanel 样式.

      Parameters:
        `style` - 目前支持 5 种样式，参照: InputStyle

    - #### getDraft

           void getDraft()

      获取草稿 逻辑：编辑草稿 => 普通草稿

    - #### getDraftReally

           void getDraftReally(EditMessageConfig config)

      获取普通草稿

    - #### onPause

           void onPause()

    - #### onDestroy

           void onDestroy()