Package com.cmput301w23t09.qrhunter.map
Class SearchQRController
- java.lang.Object
-
- com.cmput301w23t09.qrhunter.map.SearchQRController
-
public class SearchQRController extends java.lang.Object
Controller that handles searching QRs by address/coordinates
-
-
Constructor Summary
Constructors Constructor Description SearchQRController(androidx.appcompat.widget.SearchView searchView, MapFragment fragment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description android.view.View.OnClickListener
getNearbyCodes()
Get an on click listener that shows qr codes near the user's locationandroidx.appcompat.widget.SearchView.OnQueryTextListener
searchNearbyCodes()
Gets an on-query listener that shows qr codes near the queried location
-
-
-
Constructor Detail
-
SearchQRController
public SearchQRController(androidx.appcompat.widget.SearchView searchView, MapFragment fragment)
-
-
Method Detail
-
searchNearbyCodes
public androidx.appcompat.widget.SearchView.OnQueryTextListener searchNearbyCodes()
Gets an on-query listener that shows qr codes near the queried location- Returns:
- Return the on-query listener
-
getNearbyCodes
public android.view.View.OnClickListener getNearbyCodes()
Get an on click listener that shows qr codes near the user's location- Returns:
- Return the on-click listener
-
-