I wrote this code
ref.addValueEventListener(new ValueEventListener() {
@Override
public void onDataChange(@NonNull DataSnapshot dataSnapshot) {
TableRow tbrow = new TableRow(this);
.....
I get the following error in the last line :
TableRow(android.content.Context) in TableRow cannot be applied to (anonymous com.google.firebase.database.valueEventListener).
I don't really get what is a context so what should I put as a parameter in TableRow ?