Mobile Development 10.11 | webMethods Mobile SuiteWeb Help | Using webMethods Mobile Designer | Creating Mobile Application Projects | Coding a Mobile Application | Migrating to the New Run-Time Classes | Refactoring MyCanvas
 
Refactoring MyCanvas
*To refactor the MyCanvas class
1. To support previous event handling, remove extends CanvasNativeUI from the class declaration and add implements nUIEventListener.
2. In the sizeChanged() method, remove the first line, super.sizeChanged().