Add docs for setAdapter