Bonjour,
j'ai un soucis avec ArrayList qui fait planter mon application
merci de votre aide.Code:
1
2
3
4
5 ArrayList<String> stock_list = new ArrayList<String>(); stock_list.add(2, "test"); for(int i=0; i<4; i++) { if(stock_list.get(i) == null) stock_list.add(i, "rien"); }