ive tried this already.
it doesnt work with multiple constants.
super(type, bubbles, cancelable);//Doesnt work
super(COMPLETE, bubbles, cancelable);//works but doesnt enable to use different types
so basically if i give constants directly to the super () parameter, it works, but if i try to pass constructor parameter "type" it wont work.