code: @Override
      public void onReceiveSuggestionsResult(final @NonNull SuggestionsResult result, final @NonNull String bucket) {
          // Add the mentions and notify the editor/dropdown of the changes on the UI thread
          post(new Runnable() {
              @Override
              public void run() {
                  if (mSuggestionsAdapter != null) {
                      mSuggestionsAdapter.addSuggestions(result, bucket, mMentionsEditText);
                  }
                  // Make sure the list is scrolled to the top once you receive the first query result
                  if (mWaitingForFirstResult && mSuggestionsList != null) {
                      mSuggestionsList.setSelection(0);
                      mWaitingForFirstResult = false;
                  }
              }
          });
      }
docs: {@inheritDoc}