-
Notifications
You must be signed in to change notification settings - Fork 168
0_types(所有的类型)
水牛 edited this page Nov 20, 2017
·
4 revisions
buildLoading( )
buildLoading( CharSequence msg)
updateLoadingMsg(final String msg)
buildMdLoading( )
buildMdLoading( CharSequence msg)
updateLoadingMsg(final String msg)
buildProgress( CharSequence msg,boolean isHorizontal)
updateProgress(final Dialog dialog, final int progress, final int max, final CharSequence msg, final boolean isHorizontal)
buildMdAlert( CharSequence title, CharSequence msg, MyDialogListener listener)
buildMdInput(CharSequence title, CharSequence hint1, CharSequence hint2,
CharSequence firstTxt, CharSequence secondTxt, MyDialogListener listener)
buildMdSingleChoose( CharSequence title, int defaultChosen, CharSequence[] words, MyItemDialogListener listener)
buildMdMultiChoose( CharSequence title, CharSequence[] words, List<Integer> selectedIndexs, MyDialogListener btnListener)
buildIosAlert( CharSequence title, CharSequence msg, MyDialogListener listener)
buildIosAlertVertical( CharSequence title, CharSequence msg, MyDialogListener listener)
buildNormalInput( CharSequence title, CharSequence hint1, CharSequence hint2, CharSequence firstTxt, CharSequence secondTxt, MyDialogListener listener
buildIosSingleChoose( List<? extends CharSequence> words, MyItemDialogListener listener)
buildBottomItemDialog( List<? extends CharSequence> words, CharSequence bottomTxt, MyItemDialogListener listener)
buildBottomSheetLv(CharSequence title, List datas, CharSequence bottomTxt, MyItemDialogListener listener)
buildBottomSheetGv( CharSequence title, List datas, CharSequence bottomTxt,int columnsNum ,MyItemDialogListener listener)
gridview pull:
with the start of :
StyledDialog.buildIosAlert(...) or StyledDialog.buildIosAlertVertical( ...)
then set a custom viewholder:
.setCustomContentHolder(new CustomContentHolder(this))
( the demo below contains a webview)
ViewGroup customView = (ViewGroup) View.inflate(this,R.layout.customview,null);
final ConfigBean bean = StyledDialog.buildCustom(customView, Gravity.CENTER);
final Dialog dialog1 = bean.show();