23 Commits

Author SHA1 Message Date
bba7a82bdf Disable recycling, refactoring & fixes (#4705)
* Added tests for native view recycling
Disabled android native view recycling
Move toString from view-common to view-base
Fix crash on application restore and navigation back on API26
Added setAsRootView method
Added missing logo into perf-tests/recycling app

* additional fix for image-source-tests. ios is case sensitive.

* Add @private to some internal properties
Fix where padding is not respected when background is reset.
2017-08-17 09:15:35 +03:00
075e70e336 cache page on forward navigation (#4652)
* cache page on forward navigation
Still some failing navigation tests

* Current page is kept alive when navigating forward
Refactoring code and removing all hacks and flags
Remove one module circular reference

* Disable Page recycling because when there is transition between pages the nativeView stays animated (e.g. when transition is Fade the hidden page nativeView stays with Alpha 0)
Disable recycling if there is native anitmation

* Fix failing tests on ios & android API17
Fix wrong urls in http tests
Made some timer tests async

* Animations are not stored in BackstackEntry instead of Fragment because fragments could die (activity die) and recreated and we lose animations.

* Fix android crash when activity is recreated.
Refactoring transitionListener.
2017-08-07 17:24:12 +03:00
0cae034a64 Changing module docs so they can appear in typedoc. 2017-05-10 11:55:47 +03:00
d098ff43f5 Add module names for the typedoc, make it work
Mark members with @private for typedoc.
2017-04-20 16:58:30 +03:00
629eb6e683 Use relative imports in tns-core-modules.
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00
b45cbe929b No more ambient modules for tns-core-modules/* subpackages.
- Use path mappings in tsconfig.json to resolve module typings
- Only use ambient mobules for global API's
- Move single-file modules to a subdir with the same name so that
we can provide a hand-written typing next to it (via package.json)
- Delete all mentions of tns-core-modules.d.ts
- Delete reference d.ts assembly build steps. Not needed anymore.
- HACK! Use a <reference> for global typings in application.d.ts
to avoid publishing a separate @types/tns-core-modules package.
- Rename declarations.d.ts to tns-core-modules.d.ts to preserve
JS project mappings in references.d.ts (the only place we use those)
2017-03-07 17:59:02 +02:00
d448f3dc7f Animated nav-bar 2017-01-25 10:48:48 +02:00
19ee47ba24 got to layouts 2016-12-13 15:51:18 +02:00
befb494a50 up to segmented-bar.ios 2016-12-13 15:51:18 +02:00
1202cb7288 almost all without layouts 2016-12-13 15:51:18 +02:00
d795ee94e4 alpha2 2016-12-13 15:51:18 +02:00
bb2c7aa60a partial state 2016-12-13 15:51:18 +02:00
c84dc3e57b Small typo
-typo
-add android api number
2016-10-11 17:38:22 -05:00
682c465e56 setActivityCallbacks moved as public fucntion (#2696) 2016-09-09 14:03:55 +03:00
39050861f3 Add NavigationEntry.bindingContext property
Resolves Issue  #731
2016-07-19 12:06:29 +03:00
b0aee9d7a9 Fix: The navigation bar duplicates when going to TabView's "More" tab
Resolves #2121
2016-06-27 16:23:54 +03:00
1a88cf0e8c Fix frame.d.ts to not expose public android types. 2016-06-16 13:08:32 +03:00
a95d8c5c32 Fix android activity being destroyed then recreated. (#2321) 2016-06-16 09:30:35 +03:00
2740be2b05 Add API ref comments. 2016-06-13 11:10:15 +03:00
ef0577ed56 Decouple Fragment implementation logic from the Extend call. 2016-06-10 18:01:47 +03:00
92d66f6938 Extract the Activity implementation logic in a separate class. 2016-06-08 17:04:37 +03:00
9a8542869e Add fragmentForPage method to AndroidFrame interface. 2016-05-30 16:10:46 +03:00
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00