Package io.rong.imkit.widget

## Class NoLeakDialog

- All Implemented Interfaces:

      public class NoLeakDialog

  解决DialogFragment内存泄漏Bug Created by yanke on 2021/12/8

- - ### Nested Class Summary

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

  - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `NoLeakDialog(Context context)` |
    `NoLeakDialog(Context context, int themeResId)` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `setOnCancelListener(OnCancelListener listener)` |
    `void` | `setOnShowListener(OnShowListener listener)` |
    `void` | `setOnDismissListener(OnDismissListener listener)` |

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

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

- - ### Constructor Detail

    - #### NoLeakDialog

          NoLeakDialog(Context context)

    - #### NoLeakDialog

          NoLeakDialog(Context context, int themeResId)

  - ### Method Detail

    - #### setOnCancelListener

           void setOnCancelListener(OnCancelListener listener)

    - #### setOnShowListener

           void setOnShowListener(OnShowListener listener)

    - #### setOnDismissListener

           void setOnDismissListener(OnDismissListener listener)