aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Resources/friendship/core/DataManipulation.js8
-rw-r--r--Resources/friendship/ui/LikeList.js3
2 files changed, 10 insertions, 1 deletions
diff --git a/Resources/friendship/core/DataManipulation.js b/Resources/friendship/core/DataManipulation.js
new file mode 100644
index 0000000..e582ed9
--- /dev/null
+++ b/Resources/friendship/core/DataManipulation.js
@@ -0,0 +1,8 @@
+(function() {
+ fs.data = {};
+ fs.data.friends = Array();
+ fs.data.likeIDs = Array();
+ fs.data.reverseChronoLikedIDs = Array();
+ fs.data.numLikesFetched = 0;
+ fs.data.NUM_LIKES_PER_FETCH = 20;
+})(); \ No newline at end of file
diff --git a/Resources/friendship/ui/LikeList.js b/Resources/friendship/ui/LikeList.js
index 793a836..69b44a7 100644
--- a/Resources/friendship/ui/LikeList.js
+++ b/Resources/friendship/ui/LikeList.js
@@ -278,7 +278,8 @@
ll_view.addEventListener("scrollEnd", function(e) {
Ti.API.info("scroll ended");
- Ti.API.info(e.contentOffset);
+ Ti.API.info(e.contentOffset.y);
+ Ti.API.info(ll_view.height);
});
return ll_view;