Просмотр исходного кода

Removed more deprecated methods since no one should still be using them.

Aidan Follestad 10 лет назад
Родитель
Сommit
32d563ceaf

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

@@ -1135,27 +1135,11 @@ public class MaterialDialog extends DialogBase implements
             return this;
         }
 
-        /**
-         * Use {@link #customView(int, boolean)} instead.
-         */
-        @Deprecated
-        public Builder customView(@LayoutRes int layoutRes) {
-            return customView(layoutRes, true);
-        }
-
         public Builder customView(@LayoutRes int layoutRes, boolean wrapInScrollView) {
             LayoutInflater li = LayoutInflater.from(this.context);
             return customView(li.inflate(layoutRes, null), wrapInScrollView);
         }
 
-        /**
-         * Use {@link #customView(android.view.View, boolean)} instead.
-         */
-        @Deprecated
-        public Builder customView(@NonNull View view) {
-            return customView(view, true);
-        }
-
         public Builder customView(@NonNull View view, boolean wrapInScrollView) {
             this.customView = view;
             this.wrapCustomViewInScroll = wrapInScrollView;