I have two List
Class Article
public class Article{
int id;
String name;
// get
// set
}
List one:
List<Article> mListInfor have
id = 1, 2 , 3, 4, 5
name = "A", "B", "C", "D", "E"
List Two:
List<Article> mListNews have
id = 1, 2, 3, 4, 5, 6, 7, 8
name = "A", "B", "C", "D", "E", "F", "G", "H"
Result:
List<Article> mListDiffrent have
id = 6,7,8
name = "F","G","H"
How can I get different value from these two arraylists: List mListInfor and List mListNews ?
Please. Help me!