Aidan Follestad 10 年之前
父节点
当前提交
cfa17895d4
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      library/src/main/java/com/afollestad/materialdialogs/MaterialDialog.java

+ 8 - 0
library/src/main/java/com/afollestad/materialdialogs/MaterialDialog.java

@@ -1549,10 +1549,18 @@ public class MaterialDialog extends DialogBase implements
         return listView;
     }
 
+    /**
+     * Retrieves the TextView that contains the dialog title. If you want to update the
+     * title, use #{@link #setTitle(CharSequence)} instead.
+     */
     public final TextView getTitleView() {
         return title;
     }
 
+    /**
+     * Retrieves the TextView that contains the dialog content. If you want to update the
+     * content (message), use #{@link #setContent(CharSequence)} instead.
+     */
     @Nullable
     public final TextView getContentView() {
         return content;