Is there any way we can replace data of single fragment without replacing fragment?

public void onBindViewHolder(@NonNull final myViewHolder holder, final int position) { holder.tvItem.setText(itemList.get(position).getmTitle()); Picasso.get().load(itemList.get(position).geturl()).into(holder.imgFlag); final ModelClass model= itemList.get(position); holder.cardView.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { DataFragment dataFragment= new DataFragment(); ((AppCompatActivity)mContext).getSupportFragmentManager() .beginTransaction() .replace(R.id.fragment,dataFragment) .commit(); Bundle bundle= new Bundle(); bundle.putSerializable(“model”, model); dataFragment.setArguments(bundle); } }); } }

Details