ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
51.02k stars 13.52k forks source link

Infinite Scroll #5415

Closed adamdbradley closed 8 years ago

jboothe commented 8 years ago

Adam, how's the progress on this? I'm upgrading a public app from Ionic 1 to 2 and don't want to eliminate the feature. Thanks for all the fantastic work!

ryanlin1986 commented 8 years ago

We are waiting for this feature as well, since it's essential feature we can not live without it

sclausen commented 8 years ago

+1

abierbaum commented 8 years ago

:+1:

MrBokeh commented 8 years ago

Would this help? http://stackoverflow.com/questions/34496508/implement-infinite-scroller-in-angular2

sphaso commented 8 years ago

+1

adamdbradley commented 8 years ago

It's in the 2.0 branch and will go out in the beta2 release :)

jboothe commented 8 years ago

Great news! Thanks, Adam. I'll grab latest. Is beta2 due to go out soon?

brandyscarney commented 8 years ago

I've renamed ion-infinite to ion-infinite-scroll and ion-infinite-content to ion-infinite-scroll-content. Also endLoading() has been renamed to complete(). Please update these if you are using the 2.0 branch. We will release beta.2 when all issues in the milestone are complete and the framework has been thoroughly tested. :smile: You can always check out our milestones to see which issues are still open: https://github.com/driftyco/ionic/milestones/2.0.0-beta.2

sclausen commented 8 years ago

@brandyscarney very nice! Is there somewhere a guide, how to use the 2.0 branch in my project?

brandyscarney commented 8 years ago

@sclausen These steps should work, but let me know if they don't: https://github.com/driftyco/ionic/blob/2.0/scripts/README.md#developing-against-ionic-locally

:smile:

sclausen commented 8 years ago

@brandyscarney many thanks! Unfortunately, building won't work after linking. I got a massive error output. Here is the gist for stderr

And at the end in stdout

Your system information:

Cordova CLI: 6.0.0
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Version: 2.0.0-beta.1
Ionic CLI Version: 2.0.0-beta.17
Ionic App Lib Version: 2.0.0-beta.8
OS: Distributor ID: Ubuntu Description: Ubuntu 15.10 
Node Version: v5.7.0
brandyscarney commented 8 years ago

@sclausen Quite a bit has changed in the framework. If you pull down the conference app: https://github.com/driftyco/ionic-conference-app

It should work to run ionic serve. We'll be releasing beta.2 and updating the changelog with some steps to upgrade.

jboothe commented 8 years ago

Get the following error when running ionic serve. I have latest ionic-conference-app and ionic@2.0.0-beta.19 is installed globally.

ERROR: Could not find your ionic.project file! Please run this command in the root of your ionic project.

However, if I start a new tutorial project: ionic start MyIonic2Project tutorial --v2 --ts, then app runs fine with ionic serve.

What am I missing?


\ Update **

Works. (btw, still using ionic@2.0.0-beta.19)

sclausen commented 8 years ago

@brandyscarney you meant this?

import {Page} from 'ionic-angular';

beside this, your guide works like a charm, many thanks!!!