Added getNear method to adapter