类 EaseAlertDialog.Builder<T extends EaseAlertDialog>

    • 构造器详细资料

      • Builder

        public Builder​(android.content.Context context)
      • Builder

        public Builder​(android.content.Context context,
                       int themeResId)
    • 方法详细资料

      • setContentView

        public EaseAlertDialog.Builder<T> setContentView​(@LayoutRes
                                                         int contentViewId)
        Set the layout as a resource ID
        参数:
        contentViewId -
        返回:
      • setContentView

        public EaseAlertDialog.Builder<T> setContentView​(android.view.View contentView)
        Set the layout as a View
        参数:
        contentView -
        返回:
      • setText

        public EaseAlertDialog.Builder<T> setText​(@IdRes
                                                  int viewId,
                                                  java.lang.String text)
        Sets the text content based on the control ID
        参数:
        viewId -
        text -
        返回:
      • setImageview

        public EaseAlertDialog.Builder<T> setImageview​(int viewId,
                                                       int imageId)
        Set the image based on the control ID
        参数:
        viewId -
        imageId -
        返回:
      • setOnClickListener

        public EaseAlertDialog.Builder<T> setOnClickListener​(int viewId,
                                                             android.view.View.OnClickListener listener)
        Set the listener based on the control ID
        参数:
        viewId -
        listener -
        返回:
      • setOnCancelListener

        public EaseAlertDialog.Builder<T> setOnCancelListener​(android.content.DialogInterface.OnCancelListener onCancelListener)
      • setOnDismissListener

        public EaseAlertDialog.Builder<T> setOnDismissListener​(android.content.DialogInterface.OnDismissListener onDismissListener)
      • setOnKeyListener

        public EaseAlertDialog.Builder<T> setOnKeyListener​(android.content.DialogInterface.OnKeyListener onKeyListener)
      • create

        public T create()
      • show

        public T show()
      • dismiss

        public void dismiss()
      • setFromBottomAnimation

        public EaseAlertDialog.Builder<T> setFromBottomAnimation()
        Set the bottom pop-up animation
        返回:
      • setAnimation

        public EaseAlertDialog.Builder<T> setAnimation​(int animation)
        Set animation
        参数:
        animation -
        返回:
      • setLayoutParams

        public EaseAlertDialog.Builder<T> setLayoutParams​(int width,
                                                          int height)
        Set LayoutParams
        参数:
        width -
        height -
        返回: