List> listeners = new List>();
Why the line above fails with:
Cannot in
List is an interface and you can not create an instance of an interface
try
List> listeners = new ArrayList>();