@Override
  public void onBindViewHolder(PreferenceViewHolder holder) {
    super.onBindViewHolder(holder);

    mColorView = holder.findViewById(R.id.color_preference_widget);
    updateColorView();
  }
 @Override
 public void onBindViewHolder(PreferenceViewHolder view) {
   super.onBindViewHolder(view);
   final TextView summary = (TextView) view.findViewById(android.R.id.summary);
   summary.setMaxLines(20);
 }
 @Override
 public void onBindViewHolder(PreferenceViewHolder view) {
   super.onBindViewHolder(view);
   mPreviewView = view.findViewById(R.id.preview_text);
   setNumberViewValue(mPreviewView, mValue);
 }