ZesenWang opened this issue 6 years ago · 0 comments
@OverRide public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); mSwipeToLoadLayout.post(new Runnable() { @OverRide public void run() { // 上面调用mSwipeToLoadLayout正常,下面这行代码发生空指针异常 mSwipeToLoadLayout.setRefreshing(true); } }); }