You did well, you need Bundleto do it.
First of all create Stringwhere you can save the value
holder.item_evaluation_nom.getText();
Then, for example, you do the following:
String itemEvaluation = holder.item_evaluation_nom.getText();
This is the right one Bundle
EvaluationDetailHistoriqueFragment detail = new EvaluationDetailHistoriqueFragment();
Bundle bundle = new Bundle();
bundle.putString("text", itemEvaluation);
detail.setArguments(bundle);
Then, to get this, you do the following:
Bundle bundle = this.getArguments();
if (bundle != null) {
String itemEvaluation = bundle.getString("text", "");
}
hope this helps.
EDIT
Adapter evaluations_historic_liste.
:
valuations_historic_liste.setAdapter( EvaluationAdapter (getActivity(), mEvaluation));
mEvaluation - List, .
ListView :
evaluation_historic_liste.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView<?> adapter, View v, int position, long id){
String itemEvaluation = (String) ((TextView)view.findViewById(R.id.item_evaluation_nom)).getText();
String itemEvaluation=(evaluation_historic_liste.getItemAtPosition(position).toString());
}
}