You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,15 @@ Android Runtime Changelog
16
16
### Breaking Changes
17
17
18
18
* Removed the simulated property-like support for Android types. E.g. the `android.content.Intent.getAction()` previously was accessible like `android.content.Intent.Action`. This is no longer valid as it contradicts with the Android APIs.
19
+
* Changed the way `extend` constructs work
20
+
```javascript
21
+
// WRONG
22
+
var handler =newandroid.os.Handler.extend({...})();
23
+
24
+
// CORRECT
25
+
var handlerType =android.os.Handler.extend({...});
26
+
var handler =newhandlerType();
27
+
```
19
28
* The directory structure in the `assets` folder has changed. The `tns_modules` directory is now within the `assets/app` one. To migrate older CLI projects to the new structure simply move the content of the inner app folder one level up:
0 commit comments