I'm having issues with the below code
private FirebaseDatabase mFirebaseDatabase;
private DatabaseReference mDatabaseReference;
private ChildEventListener mChildListener;
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_list);
    mFirebaseDatabase = FirebaseDatabase.getInstance();
    mDatabaseReference = mFirebaseDatabase.getReference().child("MyItem");
    mChildListener = new ChildEventListener(); 
    mDatabaseReference.addChildEventListener(mChildListener);
}
The error is childeventlistener is abstract cannot be instantised for the below line mChildListner = new ChildEventListener()
Any idea what i'm doing wrong.
 
     
    