title: i want to set limit 10 unit my video list with recyclerview
body: <p>i have a lot of video list, but in my preview page i want to display just 10 videos. </p>
  
  <p>and i will display another video by <strong><em>morevideo</em></strong> button, </p>
  
  <p>here is my current code :</p>
  
  <pre><code> private void initVideoMusic() {
  
      LinearLayoutManager layout = new LinearLayoutManager(this);
      layout.setOrientation(LinearLayoutManager.HORIZONTAL);
      rvVideoMusic.setLayoutManager(layout);
      VideoMusicAdapter ar = new VideoMusicAdapter(videoMusic);
      rvVideoMusic.setAdapter(ar);
  }
  </code></pre>
  
  <p>and here is my <strong><code>Adapter</code></strong> that i used to control data <code>image</code> &amp; <code>text</code> from <code>API</code> :</p>
  
  <pre><code>public class VideoMusicAdapter extends RecyclerView.Adapter&lt;RecyclerView.ViewHolder&gt;{
  static List&lt;VideoMusic&gt; data;
  
  public VideoMusicAdapter(List&lt;VideoMusic&gt; data) {
      this.data = data;
  }
  
  @Override
  public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
      LayoutInflater inflater = (LayoutInflater) parent.getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
      View v = inflater.inflate(R.layout.item_premium_video, parent, false);
      return new VH(v);
  }
  
  @Override
  public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) {
      VideoMusic video = data.get(position);
      VH vh = (VH) holder;
  
      vh.tvArtist.setText(video.alias);
      vh.tvSong.setText(video.judul);
      vh.tvHarga.setText(video.price);
      Picasso.with(vh.imgVideo.getContext())
              .load(video.thumb_pic)
              .placeholder(R.drawable.defaultbg)
              .into(vh.imgVideo);
  }
  
  
  @Override
  public int getItemCount() {
      return (data == null) ? 0 : data.size();
  }
  public class VH extends RecyclerView.ViewHolder {
      TextView tvArtist;
      TextView tvSong;
      TextView tvHarga;
      ImageView imgVideo;
  
      public VH(View itemView) {
          super(itemView);
          tvArtist = itemView.findViewById(R.id.tv_artist);
          tvSong = itemView.findViewById(R.id.tv_title);
          tvHarga = itemView.findViewById(R.id.tv_harga);
          imgVideo = itemView.findViewById(R.id.iv_video);
  
      }
  }
  }
  </code></pre>