Class 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 location
      androidx.appcompat.widget.SearchView.OnQueryTextListener searchNearbyCodes()
      Gets an on-query listener that shows qr codes near the queried location
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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