code: @SuppressWarnings({"WeakerAccess", "unused"}) // For library users
      public void registerSearchView(@NonNull final Activity activity, @NonNull Menu menu, int id) {
          searchMenu = menu;
          searchMenuId = id;
          final SearchViewFacade actionView = new SearchViewFacade(menu, id);
          registerSearchView(activity, actionView);
      }
docs: Registers the Search Widget of an Activity's Menu to trigger search requests on text change, replacing the current one if any.
  
  @param activity The searchable Activity, see {@link android.app.SearchableInfo}.
  @param menu     The Menu that contains a search item.
  @param id       The identifier of the menu's search item.