fix onDestroy null adapter cause null exception