Comments (9)
Hey @JuanDelgadillo
In case you do not have initial items loaded you won't need loadMoreItem event. Instead just initialize your initial items collection.
from nativescript.
Did anyone come up with a viable solution for this? I am experiencing this issue too when I dynamically load in items. It loads <=10 items on the first go, then for what ever reason it loads more even though I did not scroll and am not anywhere near the bottom of the ListView.
I'm taking a stab in the dark here but maybe it's an issue with the rendering of the list? Meaning if it renders each item one by one (which I don't know if it does), I guess at one point it would think it's near the bottom when the first one or two items are loaded?
from nativescript.
I confirmed that this is still an issue. If you have a very large array that you're loading from a service using paging (adding 10 items at a time and adding to the existing list on the client side), loadMoreItems is called continuously.
from nativescript.
Generally loadMoreItems will be called when you scroll ListView to the bottom and when you do not have items you do not have scroll as well.
from nativescript.
From @qpautrat on April 21, 2015 7:3
Hi @enchev,
I was not specific enough my bad. This happen when i do nothing, no scroll.
from nativescript.
+1 for this problem
from nativescript.
+1 Any solution for this problem?
from nativescript.
+1,
LoadMoreItems runs automatically whenever items are initiated. Which should not be the behaviour.
from nativescript.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from nativescript.
Related Issues (20)
- TextField with [secure] string don't work on Android with core plugin 8.6.2 HOT 10
- ns build iOS and Xcode build not working after upgrade to xcode 15 HOT 5
- ResumeEvent in a component's constructor not triggering
- TypeError: Cannot read properties of undefined (reading 'env')
- Transfer nativescript.org Domain To The OpenJS Foundation
- RootLayout enterFrom animation bugged on iOS
- ReferenceError: NSURLSessionConfiguration is not defined HOT 12
- Missing API declarations & calling of restricted APIs HOT 8
- Android apps becomes unresponsive after resolution change
- NS PREVIEW don't working properly HOT 8
- Overlap using GridLayout iOS issue HOT 1
- [Known Issue] `npm i -g nativescript` error: gyp: binding.gyp not found HOT 2
- [feature] Allow bundler, eslint and typings generator to show API/SDK version availability warnings
- Upgrading to @nativescript/webpack-5.0.19 requires upgrade to @nativescript/core-8.7.0 HOT 3
- Devtools 0.0.1 Error: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String HOT 1
- [android] Image tintColor set to null will cause a throwable
- Uncaught ReferenceError: NativeScriptViewFactory is not defined on iOS built with mode --release. HOT 18
- Frequent ANR: __cxa_throw ANR triggered by slow operations in main thread HOT 2
- ActionBar Blocking Events on Android by default HOT 3
- Spawn error on windows HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript.