Currently I am using a RecyclerView with a LinearLayout Manager and an EditText as HeaderView for filtering the content of the list.
I would like to hide the EditText if
do you mean this:
https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager.html#canScrollVertically()
if(recyclerView.getLayoutManager().canScrollVertically()){ // do stuff } else{ // do other stuff }