title: Error:(67, 45) error: incompatible types: View cannot be converted to TextView
body: <p>So i am trying this tutorial on android with recyclerview's cardview through this tutorial <br>
  <a href="https://www.simplifiedcoding.net/android-recyclerview-cardview-tutorial/" rel="nofollow noreferrer">Android RecyclerView and CardView Tutorial</a>
   All is well when i recreated it in an seperated test application and it runs smoothly, but when i tried it to implement it in my main project it started produce this error. thanks in advance</p>
  
  <hr>
  
  <blockquote>
    <p>Error:(67, 45) error: incompatible types: View cannot be converted to TextView </p>
  </blockquote>
  
  <p>in the Customer Adapter</p>
  
  <pre><code>    class PostViewHolder extends RecyclerView.ViewHolder{
  
      TextView textname, textbody, textdate;
      ImageView imageAvatar;
  
          public PostViewHolder(View itemView)
          {
                  super(itemView);
  
  -&gt;these lines            textname = itemView.findViewById(R.id.textname);
             textbody = itemView.findViewById(R.id.textbody);
             textdate = itemView.findViewById(R.id.textdate);
             imageAvatar = itemView.findViewById(R.id.imageAvatar); &lt;-
  
          }
   }
  </code></pre>