Ti.SwipeRefreshLayout
Ti.SwipeRefreshLayout copied to clipboard
fix mem leaks
Fixed leaks:
- "SwipeRefresh swipeRefresh" in SwipeRefreshProxy
- "TiViewProxy view" in SwipeRefresh
- "MySwipeRefreshLayout layout" in SwipeRefresh
Changed API, instead of
var swipeRefreshModule = require('com.rkam.swiperefreshlayout');
var swipeRefresh = swipeRefreshModule.createSwipeRefresh({
view: listView
});
now
var swipeRefreshModule = require('com.rkam.swiperefreshlayout');
var swipeRefresh = swipeRefreshModule.createSwipeRefresh();
swipeRefresh.add(listView)```
https://github.com/drauggres/Ti.SwipeRefreshLayout/releases/download/3.0.0/com.rkam.swiperefreshlayout-android-3.0.0.zip
@centogram Also look at Titanium.UI.RefreshControl. Probably you dont't need this module anymore.
Good point. Thank you. On December 14, 2017 at 9:11:40 AM, Sergey Volkov ([email protected]) wrote:
@centogram Also look at Titanium.UI.RefreshControl. Probably you dont't need this module anymore.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.