Subclassed adapter not working