I want to write an ArrayList ArticleDesire of Article.Class inside a User of my database, my Article class has a String titre and an ArrayList motcle, in the database the motcle array won't show up in
my Database i Checked and it wasn't empty 
Here is my Add ArticleDesire Method
public void addArticleDesire(final ArrayList<Article> motcle, String Userid)
{
mDatabase = FirebaseDatabase.getInstance().getReference("User");
DatabaseReference user = mDatabase.child(Userid);
final DatabaseReference keylist = user.child("ArticleDesire");
keylist.setValue(motcle);
}
My Article constructor
public Article(ArrayList<String> arrayList, String titre) {
if (arrayList.isEmpty()){
Log.w("Arraylist","VIDE");
}
this.motcle=new ArrayList(arrayList);
if (motcle.isEmpty()==false)
{
Log.w("Arraylist"," NON VIDE"+motcle);
}
this.titre=titre;
}
I call the AddArticleDesire in an activity, I Checked the constructor when called and the ArrayList isn't empty and the articles are in it.
is it possible when having different constructors in the Article Class, it can interfere with the Writing?
Articleclass and the part of your Activity, where you set up the ArrayLists and calladdArticleDesire()?