Program: 174407
Project: 174407
Buggy source:
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  View rootView=inflater.inflate(R.layout.fragment_search,container,false);
  ButterKnife.bind(this,rootView);
  init();
  adapter=new GiftListAdapter(context,galleries);
  mRecyclerView.setAdapter(adapter);
  mRecyclerView.setLayoutManager(new LinearLayoutManager(context));
  mRecyclerView.addOnScrollListener(new EndlessRecyclerViewScrollListener(new LinearLayoutManager(context)){
    @Override public void onLoadMore(    int page,    int totalItemsCount){
      pageNumber++;
    }
  }
);
  Drawable myIcon=getResources().getDrawable(R.mipmap.ic_backspace_black_24dp);
  myIcon.setColorFilter(getResources().getColor(R.color.dark_white),PorterDuff.Mode.SRC_ATOP);
  mSearchBackspaceBtn.setImageDrawable(myIcon);
  mSearchBackspaceBtn.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      mSearchET.setText("String_Node_Str");
      mSearchBackspaceBtn.setVisibility(View.INVISIBLE);
    }
  }
);
  mSearchET.addTextChangedListener(new TextWatcher(){
    @Override public void beforeTextChanged(    CharSequence s,    int start,    int count,    int after){
    }
    @Override public void onTextChanged(    CharSequence s,    int start,    int before,    int count){
    }
    @Override public void afterTextChanged(    Editable s){
      if (s.length() > 0) {
        mSearchBackspaceBtn.setVisibility(View.VISIBLE);
      }
    }
  }
);
  mSearchBtn.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      sendRequest();
    }
  }
);
  mFilterLayBtn.setOnTouchListener(new View.OnTouchListener(){
    @Override public boolean onTouch(    View v,    MotionEvent event){
      if (event.getAction() == MotionEvent.ACTION_DOWN) {
        filterIc.setAlpha(0.5f);
        filterTxt.setAlpha(0.5f);
      }
 else       if (event.getAction() == MotionEvent.ACTION_UP) {
        filterIc.setAlpha(1f);
        filterTxt.setAlpha(1f);
      }
      return true;
    }
  }
);
  return rootView;
}

Fixed version (ground truth):
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  View rootView=inflater.inflate(R.layout.fragment_search,container,false);
  ButterKnife.bind(this,rootView);
  init();
  adapter=new GiftListAdapter(context,galleries);
  mRecyclerView.setAdapter(adapter);
  linearLayoutManager=new LinearLayoutManager(context);
  mRecyclerView.setLayoutManager(linearLayoutManager);
  mRecyclerView.addOnScrollListener(new EndlessRecyclerViewScrollListener(linearLayoutManager){
    @Override public void onLoadMore(    int page,    int totalItemsCount){
      pageNumber++;
    }
  }
);
  Drawable myIcon=getResources().getDrawable(R.mipmap.ic_backspace_black_24dp);
  myIcon.setColorFilter(getResources().getColor(R.color.dark_white),PorterDuff.Mode.SRC_ATOP);
  mSearchBackspaceBtn.setImageDrawable(myIcon);
  mSearchBackspaceBtn.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      mSearchET.setText("String_Node_Str");
      mSearchBackspaceBtn.setVisibility(View.INVISIBLE);
    }
  }
);
  mSearchET.addTextChangedListener(new TextWatcher(){
    @Override public void beforeTextChanged(    CharSequence s,    int start,    int count,    int after){
    }
    @Override public void onTextChanged(    CharSequence s,    int start,    int before,    int count){
    }
    @Override public void afterTextChanged(    Editable s){
      if (s.length() > 0) {
        mSearchBackspaceBtn.setVisibility(View.VISIBLE);
      }
    }
  }
);
  mSearchBtn.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      sendRequest();
    }
  }
);
  mFilterLayBtn.setOnTouchListener(new View.OnTouchListener(){
    @Override public boolean onTouch(    View v,    MotionEvent event){
      if (event.getAction() == MotionEvent.ACTION_DOWN) {
        filterIc.setAlpha(0.5f);
        filterTxt.setAlpha(0.5f);
      }
 else       if (event.getAction() == MotionEvent.ACTION_UP) {
        filterIc.setAlpha(1f);
        filterTxt.setAlpha(1f);
      }
      return true;
    }
  }
);
  return rootView;
}