I have a RecyclerView that shows the list of files exist in the app directory . Now, when user click on a particular row , that file will open. 

> 
> This is the Screenshot of my RecyclerView :
> 
> 
> 

[![enter image description here](https://i.stack.imgur.com/ySt7R.png)](https://i.stack.imgur.com/ySt7R.png)

> 
> This is The viewHolder of my Adapter code :
> 
> 
> 

```
// ===========================  ViewHolder ==========================

    public class ViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener {
        private TextView txtTitle;
        private ImageView imgDelete;

        public ViewHolder(View itemView) {
            super(itemView);
            itemView.setOnClickListener(this);
            txtTitle = (TextView) itemView.findViewById(R.id.txt_file_title);
            imgDelete = (ImageView) itemView.findViewById(R.id.img_delete_row_show);
        }

        @Override
        public void onClick(View v) {
            Toast.makeText(v.getContext(), txtTitle.getText(), Toast.LENGTH_SHORT).show();
            //?????
        }
    }

```