Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[generator] Don't trim 8 name chars on non-set-listeners. (#181)
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=58403 An event names is generated from the method name which was supposed to be `setOnXxxListener()`. Though we had been generating events for methods that do not end with "Listener", resulting in weird event names (e.g. it was "VisibleWidt" for `setOnVisibleWidthChanged` method). Trim trailing 8 characters only on `setOnXxx**Listener**()` methods.
- Loading branch information