Added more info to registerAdapter()