In Sencha Touch 2, if you need to call a controller method from another controller below is the code
this.getApplication().getController('controller name').functionname();
This way, you can avoid the code duplication across controllers. Hope you enjoy this Post.
No comments:
Post a Comment