33 Commits

Author SHA1 Message Date
e6250e718a Disable recycling of native views
createNativeView will set iOS nativeView if it is null/undefined
2017-03-28 18:08:59 +03:00
c18a76c93a rename:
_createNativeView to createNativeView;
_initNativeView to initNativeView
_disposeNativeView to disposeNativeView
_resetNativeView to resetNativeView
2017-03-28 18:08:59 +03:00
f2898f84d5 NativeView recycled for android 2017-03-28 18:08:59 +03:00
a64bba62aa whiteSpace default value change to undefined (#3782)
TKUnit default message change to empty string
isSet method is now instance method of Property classes
fix detaching from parent bindingContext - were using oldParent.parent instead of parent
editable-text-base.android - onTextChanged implementation commented. Does nothing.
frame - onCreateView wrapped in try/catch and shows label with exception message if any
text-base.android - should support reset of nativeView. TransformationMethod won’t be set if TextField is secure
Change some types to their string couterparts
TextField.android won’t support multilines anymore in order to work as iOS
In android when page is removed from native backstack we won’t call tearDownUI again a second time
2017-03-14 10:26:45 +02: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
1d49f5f3c3 fix padding on text-view & text-field (#3758)
* fix padding on text-view & text-field
text-base is now snapshotable
view.android is now snapshotable

* createNativeView returns the nativeView for android
Fix image tests
Implement test for image loaded from res://
EffectivePaddings updated when nativeView have some from its native theme
2017-03-09 16:09:53 +02:00
ea22eb9c20 refactoring circular imports 2017-03-06 14:05:55 +02:00
a582adc561 Hhristov/fix (#3653)
* Fix action-bar systemIcon
Fix CSS applying

* refactoring

* fix console

* remove StyleScope import - it is private and cannot be imported in public .d.ts
2017-02-17 17:21:57 +02:00
fec5e92dbe Fix tracing 2017-01-16 13:29:46 +02:00
c30be0d606 View lifecycle methods 2017-01-04 17:18:45 +02:00
7931ecd4f8 Fix tslint errors 2016-12-21 17:42:31 +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
a64847ca9d next 2016-12-13 15:51:18 +02:00
bb2c7aa60a partial state 2016-12-13 15:51:18 +02:00
1c4f40333e Application and ActivityEvents improvements 2016-10-11 18:40:03 +03:00
ce6bf2dc58 Activity intent extras are set on application run which breaks Frame class logic. They were never set on lower API levels (#2367) 2016-06-24 17:56:29 +03:00
fe450f0280 Merge pull request #2304 from NativeScript/atanasovg/update-http
Rename com.tns.Async.xxx to org.nativescript.widgets.Async.xxx
2016-06-21 11:37:32 +03:00
a95d8c5c32 Fix android activity being destroyed then recreated. (#2321) 2016-06-16 09:30:35 +03:00
dedce943f2 Fix the startActivity method. 2016-06-15 14:43:38 +03:00
ef0577ed56 Decouple Fragment implementation logic from the Extend call. 2016-06-10 18:01:47 +03:00
cf06073a26 Merge pull request #2271 from NativeScript/atanasovg/remove-activity-extend
Extract the Activity implementation logic in a separate class.
2016-06-09 08:24:56 -07:00
192171232e Fix android orientation exception. (#2278)
Fix android activity destroy/resume.
Fix tslint - skipped all from node_modules & platforms
2016-06-09 14:02:15 +03:00
7220863e36 Remove empty block 2016-06-08 17:28:01 +03:00
92d66f6938 Extract the Activity implementation logic in a separate class. 2016-06-08 17:04:37 +03:00
bab2bb13d0 More transition fixes and optimizations
Related to  #2225
2016-06-06 15:45:49 +03:00
9e40f8022b Fixed: The exit transition of the current page is not played when navigating with clearHistory
Resolves #2225
2016-06-03 15:48:48 +03:00
5c47f54fe5 Fixed: The exit transition of the current page is not played when navigating with clearHistory
Resolves #2225
2016-06-02 10:48:30 +03:00
659d91bfb2 Merge pull request #2214 from NativeScript/atanasovg/expose-fragments-1
[Second Try] Add API that resolves the native android.app.Fragment instance created for a Page
2016-06-01 14:04:26 +03:00
d1620e3387 Fixed a problem with going back with cachePagesOnNavigate
Related to #1948
2016-05-30 17:19:04 +03:00
9a8542869e Add fragmentForPage method to AndroidFrame interface. 2016-05-30 16:10:46 +03:00
719ce1e33e Fixed test_NavigateToNewPage_WithAndroidCache failure on Android API level 17
Unit tests re-factoring and improvements
2016-05-27 13:07:49 +03:00
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00