Commit Graph
42 Commits
Author SHA1 Message Date
hshristov f72d79e65a iOS owner pattern changed to use WeakRef in order to prevent memory leaks.
Optimized list-view-tests.
Added time per test.
2015-10-22 10:26:59 +03:00
Rossen Hristov 8936ef8317 Fixed #909: Android ListView will not update its UI after refresh is called until it is scrolled up and down. 2015-10-09 17:04:10 +03:00
hshristov 0ecb5d4dcd Implement Page background option to span under status bar (iOS only for the moment) 2015-10-06 14:35:59 +03:00
Nedyalko Nikolov 0b6ca23e25 BindingContext will be set before adding items to visual tree (ListView, Repeater). 2015-09-30 11:18:46 +03:00
Hristo Deshev 77838ae9c6 Change from "classic" TS 1.6 imports to the default resolution scheme.
- Use relative imports in place of most of our absolute ones.
- Add "private" ambient modules for modules that we need to import using
an absolute path (e.g. when app/.../test-something.ts needs to import
ui/styling/style-scope)
2015-09-29 16:25:49 +03:00
Hristo Deshev 173cde895e Pull the Owned android helper interface to utils/utils.
In a @private block.
2015-09-18 11:29:12 +03:00
Hristo Deshev 9fbcf5f143 Fix typescript 1.6 compile errors.
- Remove unknown properties in object literals.
- Don't use module-level `delete` statements.
2015-09-18 11:20:17 +03:00
Nedyalko Nikolov a9d8e5a578 Removed animation from scrollToIndex due to problems in iOS. 2015-09-04 12:10:33 +03:00
Vladimir Enchev d2983d99f8 setSelection used instead smoothScrollToPosition 2015-08-27 14:01:59 +03:00
Vladimir Enchev 905c395fea scrollToIndex added to ListView 2015-08-27 13:26:15 +03:00
hshristov 6a6f7fcf92 Fix ListView module to check for layoutBase instead of Layout
Remove some unnecessary traces
2015-08-11 15:28:39 +03:00
hshristov e58506563a Fix WrapLayout
Fix ScrollView
Fix Stylers.android
Remove some method from View class
Fix layout-helper test views
Fix all android failing tests
Remove onLayout on Button and TextBase
2015-08-03 13:49:11 +03:00
Rossen Hristov 18d3d5fea4 Removed the code that raises 'unloaded' event for list-view rows for performance reasons. 2015-07-31 09:30:42 +03:00
atanasovg 1439313e7b Make moduleMerge a global function - this saves a total of 83 requires upon application loading. 2015-07-27 13:04:48 +03:00
Rossen Hristov ac36729cb7 The unloaded event of view in the ListView's itemTemplate will now be called when its underlying native view is removed from the visual tree. When this happens is beyond our control. 2015-07-20 09:15:58 +03:00
Nedyalko Nikolov b45718b1ef BindingContext set two times on adding item to ListView. Fixes issue #410. 2015-07-14 14:47:40 +03:00
Jason Zhekov 3907975577 Remove class override of ListViewCell
This is broken in the new ios runtime.
2015-06-09 15:51:07 +03:00
Panayot Cankov 068dd8b868 Fixed crash due to asserts in scrollToRowAtIndexPathAtScrollPositionAnimated for ListView's UITableView instance. Fixed a case where the UITableView fails to calculate its layout when the page it is displayed in is navigated to, from and back to. 2015-06-02 10:47:40 +03:00
Vladimir Enchev 9238f29556 separator is no longer forced to the edge
Use this code in ListView.itemLoading event if you want to control the
inset:

function listViewItemLoading(args) {
if (args.ios) {
args.ios.separatorInset = UIEdgeInsetsZero;
args.ios.preservesSuperviewLayoutMargins = false;
args.ios.layoutMargins = UIEdgeInsetsZero;
}
}
2015-05-27 16:47:01 +03:00
Vladimir Enchev 2feeed4d47 ListViewCell returned due to layout problems 2015-05-26 15:44:06 +03:00
Vladimir Enchev d0936dfc59 view parent exposed in itemLoading event 2015-05-26 14:11:51 +03:00
Vladimir Enchev 342bae570d getExports moved to builder 2015-05-25 12:09:15 +03:00
Nedyalko Nikolov 3b6a23bfb5 Fixed issue with binding context in a list view scenario. 2015-05-19 11:53:42 +03:00
vakrilov c3b687c880 Ts lint 2015-05-18 11:51:15 +03:00
vakrilov 3cfaa221ae Clean unused variables 2015-05-18 11:29:57 +03:00
vakrilov 57171c768e WeakEvents with map 2015-05-15 18:39:01 +03:00
vakrilov 71c9266be3 WeakEvents refactoring and used in ListView 2015-05-15 18:39:01 +03:00
vakrilov fd9ff189ba List view attaches with weakEventHandler 2015-05-15 18:39:00 +03:00
Nedyalko Nikolov 95ca8d9c8c Replace knownEvents modules with static strings. 2015-04-24 09:29:00 +03:00
Nedyalko Nikolov cd6e723c30 Changed gestures enums like other enums. 2015-04-20 16:32:06 +03:00
hshristov 710c423609 Fix ios transition issue
Revert imageSource property metadata to None
Improve ListView preparecell check
2015-04-08 10:55:02 +03:00
Rossen Hristov 38bc482359 Moved delegate handling to onLoaded / onUnloaded methods and reworked the WebView tests. 2015-04-03 13:32:39 +03:00
vakrilov 96c0a52c8f Fix issue with black random black items when scrolling 2015-04-02 18:26:12 +03:00
Nedyalko Nikolov d952faa3c2 Added application resources (used for binding converters), also some bug
fixes (binding related).
2015-04-01 11:45:30 +03:00
Vladimir Enchev 30553253f4 another list-view android fix :( 2015-03-27 16:14:35 +02:00
Vladimir Enchev 9ee7d5f90b new android runtime properties modules fixed 2015-03-27 11:13:44 +02:00
Vladimir Enchev a7d1f3915c ios list-view separator inset set to zero by default 2015-03-23 11:22:25 +02:00
Nedyalko Nikolov 3b206c772d Fixed issue: Update list-view in iOS when adding items. 2015-03-19 16:18:30 +02:00
Vladimir Enchev 64ecc682e0 obsolete adapter method removed 2015-03-16 09:56:28 +02:00
Vladimir Enchev d19f5dfc4d tslint error fixed 2015-03-16 09:49:33 +02:00
Vladimir Enchev 2e782aecc5 initial commit 2015-03-13 15:23:04 +02:00
Erjan Gavalji cc829e0152 definitions fixed 2015-03-03 10:34:40 +02:00