From 580865fa5aad9c78d7847d2c9d376ac1273e1c41 Mon Sep 17 00:00:00 2001 From: Zach Fox Date: Wed, 30 Aug 2017 12:54:26 -0700 Subject: [PATCH] Add skeleton for infinite scroll --- interface/resources/qml/hifi/commerce/wallet/WalletHome.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/interface/resources/qml/hifi/commerce/wallet/WalletHome.qml b/interface/resources/qml/hifi/commerce/wallet/WalletHome.qml index 950220f8f4..887028b49e 100644 --- a/interface/resources/qml/hifi/commerce/wallet/WalletHome.qml +++ b/interface/resources/qml/hifi/commerce/wallet/WalletHome.qml @@ -278,6 +278,12 @@ Item { anchors.bottom: parent.bottom; } } + onAtYEndChanged: { + if (transactionHistory.atYEnd) { + console.log("User scrolled to the bottom of 'Recent Activity'."); + // Grab next page of results and append to model + } + } } // This should never be visible (since you immediately get 100 HFC)