different function type error(android)