提问页面流程优化(还差接口调试)

This commit is contained in:
kehaoyuan
2018-03-23 16:44:09 +08:00
parent dce3a91156
commit 1cf13fc2a1
15 changed files with 709 additions and 278 deletions

View File

@ -26,6 +26,16 @@ public class WaitingDialogFragment extends BaseDialogFragment {
return fragment;
}
public static WaitingDialogFragment newInstance(String message, boolean isCancelable) {
Bundle args = new Bundle();
args.putString(KEY_MSG, message);
WaitingDialogFragment fragment = new WaitingDialogFragment();
fragment.setArguments(args);
fragment.setCancelable(isCancelable);
return fragment;
}
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {