@Override
                        protected void onBitmapFileReady(Bitmap bitmap) {
                            // ViewHolder has been reused by other item.
                            if (!TextUtils.equals(titleText, viewHolder.mText.getText())) return;
                            if (bitmap != null) {
                                viewHolder.mIcon.setVisibility(View.VISIBLE);
                                viewHolder.mIcon.setImageBitmap(bitmap);
                            } else {
                                viewHolder.mIcon.setVisibility(View.INVISIBLE);
                                viewHolder.mIcon.setImageBitmap(null);
                            }
                        }
The adapter to display the icon and title of custom Browser Actions item.
customtabs/src/android/support/customtabs/browseractions/BrowserActionsFallbackMenuAdapter.java