AndroidSweetSheet icon indicating copy to clipboard operation
AndroidSweetSheet copied to clipboard

在Fragment中使用CustomDelegate的setDelegate报NullPointerException

Open jingzhanwu opened this issue 7 years ago • 0 comments

sheet = new SweetSheet(mRootView); CustomDelegate customDelegate = new CustomDelegate(true, CustomDelegate.AnimationType.DuangLayoutAnimation); View mSheetView = LayoutInflater.from(getActivity()).inflate(R.layout.disc_near_shop_bottom_sheet, null, false); customDelegate.setCustomView(mSheetView); sheet.setDelegate(customDelegate);

jingzhanwu avatar Apr 19 '17 01:04 jingzhanwu