public DirectoryAdapter(Context context, Dir dir, File[] files, FileStat[] fileStats, OnItemSelectedListener listener) {
this.context = context;
currentDir = dir;
this.files = files;
this.fileStats = fileStats;
<BUG>this.listener = listener;
}</BUG>
@Override
public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
FileItemBinding binding = DataBindingUtil.inflate(

public DirectoryAdapter(Context context, Dir dir, File[] files, FileStat[] fileStats, OnItemSelectedListener listener) {
this.context = context;
currentDir = dir;
this.files = files;
this.fileStats = fileStats;
this.listener = listener;
setHasStableIds(true);
}
@Override
public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
FileItemBinding binding = DataBindingUtil.inflate(
