private void updateViewLayoutParams(View view, int width, int height) {
    ViewGroup.LayoutParams layoutParams = view.getLayoutParams();
    if (layoutParams == null || layoutParams.height != width || layoutParams.width != height) {
      layoutParams = new AbsListView.LayoutParams(width, height);
      view.setLayoutParams(layoutParams);
    }
  }
Load an image of the specified uri into the view, asynchronously.
samples/comparison/src/main/java/com/facebook/samples/comparison/holders/BaseViewHolder.java