ソースを参照

README updates.

Aidan Follestad 10 年 前
コミット
0743686bfb
1 ファイル変更3 行追加11 行削除
  1. 3 11
      README.md

+ 3 - 11
README.md

@@ -24,14 +24,6 @@ For the full history, see the [Changelog](https://github.com/afollestad/material
 > 2. An enormous amount of fixes for padding and spacing throughout the different types of dialogs. A top divider is also used when there's scrollable content.
 > 3. Other bug fixes and improvements throughout.
 
-###### Version 0.4.8 – 0.4.9
-
-> 1. Improvements for padding in list dialogs.
-> 2. Fixed the `forceStacking` option.
-> 3. Single choice dialogs will wait to send selection callbacks until positive action button is pressed, if the positive action button is set.
-> 4. Pull request from [hzsweers](https://github.com/hzsweers): https://github.com/afollestad/material-dialogs/pull/146
-> 5. List items use pure black or white text depending on theme by default, rather than the former gray-ish color.
-
 ---
 
 ### Gradle Dependency (jCenter)
@@ -202,7 +194,7 @@ also very simple.
 ```java
 new MaterialDialog.Builder(this)
         .title("Social Networks")
-        .items(new String[]{"Twitter", "Google+", "Instagram", "Facebook"})
+        .items(new CharSequence[]{"Twitter", "Google+", "Instagram", "Facebook"})
         .itemsCallback(new MaterialDialog.ListCallback() {
             @Override
             public void onSelection(MaterialDialog dialog, View view, int which, CharSequence text) {
@@ -226,7 +218,7 @@ display radio buttons next to list items.
 ```java
 new MaterialDialog.Builder(this)
         .title("Social Networks")
-        .items(new String[]{"Twitter", "Google+", "Instagram", "Facebook"})
+        .items(new CharSequence[]{"Twitter", "Google+", "Instagram", "Facebook"})
         .itemsCallbackSingleChoice(-1, new MaterialDialog.ListCallback() {
             @Override
             public void onSelection(MaterialDialog dialog, View view, int which, CharSequence text) {
@@ -254,7 +246,7 @@ display check boxes next to list items, and the callback can return multiple sel
 ```java
 new MaterialDialog.Builder(this)
         .title("Social Networks")
-        .items(new String[]{"Twitter", "Google+", "Instagram", "Facebook"})
+        .items(new CharSequence[]{"Twitter", "Google+", "Instagram", "Facebook"})
         .itemsCallbackMultiChoice(null, new MaterialDialog.ListCallbackMulti() {
             @Override
             public void onSelection(MaterialDialog dialog, Integer[] which, CharSequence[] text) {