I want to pass more items with following data types:
OneListItem = (Integer, String, Intent);
So:
OneListItem.add(1,"Hello", IntentToPass);
OneListItem.add(2,"Hello", IntentToPass);
OneListItem.add(3,"Hello", IntentToPass);
And call method which is processing given data by this way:
nh.addNotification(OneListItem);
What data structure is best to use for this (data structure will be always same) and how howt to define it?
I tried something like this but without luck:
List<String, Integer, Intent> li = new ArrayList<String, Integer, Intent>;
Thanks for any advice.