i'm doing a simple crud android project i'm absolute beginner so i watched a tuto on youtub
i found that he passed un object to intent.putExtra
like this
  Employee emp = e==null? list.get(position):e;
 case R.id.menu_edit:
                        Intent intent=new Intent(context,MainActivity.class);
                        intent.putExtra("EDIT",emp);
                        context.startActivity(intent);
                        break;
code source from here https://github.com/Sovary/FireTestRecyclerView/blob/main/app/src/main/java/com/hellokh/sovary/firetest/RVAdapter.java#L56
and it dosn't work with me ! intent.putExtra can't hold an object in it in my code it only support string or something what to do to pass this argument ?
i tried to change it to char or to give one attribut but no hope hh
 
    