move setAdapter to onAttach