title: Drawable tinting in RecyclerView for pre-Lollipop
body: <p>I am trying to use drawable tinting using the following code in my <code>RecyclerView</code></p>
  <pre><code>Drawable likeDrawable = ContextCompat.getDrawable(getActivity(), R.drawable.ic_thumb_up);
  Drawable likeWrappedDrawable = DrawableCompat.wrap(likeDrawable);
  DrawableCompat.setTint(likeWrappedDrawable,ContextCompat.getColor(getActivity(), android.R.color.white));
  holder.ivLike.setImageDrawable(likeWrappedDrawable);
  </code></pre>
  <p>Now all of this is being done in the <code>onBindViewHolder</code> of the RecyclerView Adapter</p>
  <p>I change this tint between three colors based on the state of that list item. This works all fine for Lolipop and above but below this version, the color of the list item is unpredictable. Sometimes it shows the right color but on refreshing the list sometimes it changes to some other color.</p>
  <p>Anything im doing wrong here or the tinting thing on pre-lollipop is still unusable in this particular case?</p>
  <h2>Update</h2>
  <p>Including the code from my <code>onBindViewHolder</code></p>
  <pre><code>@Override
  public void onBindViewHolder(ViewHolder holder, int position) {
  
      Drawable likeDrawable =
          ContextCompat.getDrawable(getActivity(), R.drawable.ic_thumb_up);
  
      Drawable likeWrappedDrawable = DrawableCompat.wrap(likeDrawable);
  
      holder.tvLikeCount.setTextColor(ResUtil.getColor(R.color.light_font,
          getActivity()));
  
      DrawableCompat.setTint(likeWrappedDrawable,
          ContextCompat.getColor(getActivity(), android.R.color.white));
  
      if (tweetModel.isFavorited()) {
          DrawableCompat.setTint(likeWrappedDrawable,
              ContextCompat.getColor(getActivity(), android.R.color.holo_blue_light));
      }
  
      holder.ivLike.setImageDrawable(likeWrappedDrawable);
  
  }
  </code></pre>