275 View item = itemConverti;
276 LayoutInflater inflater =
context.getLayoutInflater();
277 if (itemConverti == null)
278 item = inflater.inflate(R.layout.item_programmer, null,
true);
279 ImageView imageItem = (ImageView) item.findViewById(R.id.item_image_programmer);
280 TextView texteCapsuleItem = (TextView) item.findViewById(R.id.item_capsule);
281 TextView texteBoissonItem = (TextView) item.findViewById(R.id.item_boisson);
282 TextView texteJourHeureItem = (TextView) item.findViewById(R.id.item_jour_heure);
283 TextView texteFrequenceItem = (TextView) item.findViewById(R.id.item_frequence);
287 imageItem.setImageResource(R.drawable.ic_plus);
288 texteCapsuleItem.setText(
"");
289 texteBoissonItem.setText(
"");
290 texteJourHeureItem.setText(
"");
291 texteFrequenceItem.setText(
"");
Activity context
L'activite.
ArrayList< String > joursProgrammer
Les jours des programmations.
ArrayList< String > nomsCapsulesProgrammer
Les noms des capsules des programmations.
ArrayList< String > nomsBoissonsProgrammer
Les noms des boissons des programmations.
ArrayList< String > frequencesProgrammer
Les fréquences des programmations.
ArrayList< String > heuresProgrammer
Les heures des programmations.
ArrayList< Integer > identifiantsImagesCapsulesProgrammer
Les identifiants des images des capsules des programmations.