Adding a little bit of polish, and also adding a title to the filters
This commit is contained in:
@@ -49,15 +49,11 @@ public class WarningFilteredStatusDisplayItem extends StatusDisplayItem{
|
||||
@Override
|
||||
public void onBind(WarningFilteredStatusDisplayItem item){
|
||||
filteredItems = item.filteredItems;
|
||||
text.setText(item.parentFragment.getString(R.string.mo_filtered, item.status.filtered.get(item.status.filtered.size() -1).filter.title));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onClick(){
|
||||
// this.itemView.setVisibility(View.GONE);
|
||||
// ViewGroup.LayoutParams params = this.itemView.getLayoutParams();
|
||||
// params.height = 0;
|
||||
// params.width = 0;
|
||||
// this.itemView.setLayoutParams(params);
|
||||
item.parentFragment.onWarningClick(this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user