I want to make list item in array list be visible according to day in week. In other days I want other list item to take its position.
final ArrayList<Programme> programmes = new ArrayList<Programme>(); programmes.add(new Programme(com.example.android.halt.R.string.loud, Calendar.*MONDAY*)); programmes.add(new Programme(com.example.android.halt.R.string.Busters, Calendar.THURSDAY)); This is my list. I want first item to be visible on monday and not on any other days. And in other days I want second item to take place of first item. Can someone please help me? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to email@example.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/e3863733-0594-4622-a403-9e7f1d39e50f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.