title: Set focus on recyclerview item
body: <p>I really want to set focus on a specific RecyclerView item.
  I tried </p>
  
  <pre><code>recyclerView.scrollToPosition(1);
  </code></pre>
  
  <p>in my initializeRecyclerView method. I tried also</p>
  
  <pre><code>holder.setSelected(selectedItem==position)
  </code></pre>
  
  <p>without success.</p>
  
  <p>Can you please help me ?</p>
  
  <p>Here is my Adapter:</p>
  
  <pre><code> public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
      View v = LayoutInflater.from(parent.getContext())
              .inflate(R.layout.radio_item, parent, false);
      return new ViewHolder(v);
  }
  
  /**
   * Set the properties of a RecyclerView item
   * @param holder RecyclerView item
   * @param position Position of the item in the items list
   */
  @Override
  public void onBindViewHolder(final ViewHolder holder, int position) {
      Radio radio = radios.get(position);
      holder.radio = radio;
      ImageHelper.setImage(context, holder.imageButton, radio.getLogoPath(), context.getDrawable(Const.DEFAULT_RADIO_LOGO_DRAWABLE) );
      holder.imageButton.setBackground(context.getDrawable(R.drawable.button));
      holder.imageButton.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              if(clickListener != null){
                  clickListener.onRadioClick(holder.getAdapterPosition());
              }
          }
      });
  }
  public class ViewHolder extends RecyclerView.ViewHolder{
      private ImageButton imageButton;
      public Radio radio;
  
      private ViewHolder(View itemView) {
          super(itemView);
          imageButton = itemView.findViewById(R.id.radioButton);
      }
  }
  </code></pre>
  
  <p>And in my Fragment:</p>
  
  <pre><code>if(getView()!=null){
          RadiosAdapter recyclerAdapter = new RadiosAdapter(radios, getActivity());
          RecyclerView recyclerView = getView().findViewById(R.id.radios_recycler);
          recyclerView.setAdapter(recyclerAdapter);
  
          recyclerView.setHasFixedSize(true);
          recyclerView.setLayoutManager(new GridLayoutManager(getActivity(), columnNumber, LinearLayoutManager.VERTICAL, false));
          if(currentRadio !=null){
              recyclerView.scrollToPosition(currentRadio.getPosition());
          }
          else{
              recyclerView.scrollToPosition(1);
          }
  
          if(getActivity() != null &amp;&amp; getActivity() instanceof OnClickListener){
              OnClickListener listener = (OnClickListener)getActivity();
              recyclerAdapter.setClickListener(listener);
          }
      }
  </code></pre>
  
  <p>Thanks !</p>