List> listeners = new List>();
Why the line above fails with:
Cannot in
The proper way is:
List> listeners = new ArrayList>();
List
ArrayList