MaterialDialog.java 文件源码

java
阅读 28 收藏 0 点赞 0 评论 0

项目:material-dialogs 作者:
/**
 * Retrieves the view of an action button, allowing you to modify properties such as whether or
 * not it's enabled. Use {@link #setActionButton(DialogAction, int)} to change text, since the
 * view returned here is not the view that displays text.
 *
 * @param which The action button of which to get the view for.
 * @return The view from the dialog's layout representing this action button.
 */
public final MDButton getActionButton(DialogAction which) {
  switch (which) {
    default:
      return positiveButton;
    case NEUTRAL:
      return neutralButton;
    case NEGATIVE:
      return negativeButton;
  }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号