updated target api, added some methods to AdapterView