Changed method CreateAdapter to take 2 parameters, instead of 1 of type DirectionRequest