-
Notifications
You must be signed in to change notification settings - Fork 27
Not working in TNS 2.5 #18
Comments
That's a layout issue. Can you provide your UI markup? |
Essentially the same example on the github page is within the schedules directive
|
Is the refresh inside the schedules?
…On Tue, Feb 7, 2017, 6:33 AM Elvis Mercado ***@***.***> wrote:
Essentially the same example on the github page is within the schedules
directive
<GridLayout>
<TabView #tabView class="tab-view" [selectedIndex]="tabindex" (selectedIndexChanged)="onSelectedIndexChanged(tabView.selectedIndex)">
<GridLayout *tabItem="{title: 'Planning'}">
<schedules></schedules>
</GridLayout>
</TabView>
</GridLayout>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFulhOEhh8BuLHy-OrE3guRp7VtYDrfDks5raGSPgaJpZM4L5SMs>
.
|
yes, this is the view of the schedules
|
@bradmartin I got the view to work. Problem was the gridlayout between the pulltorefresh and listview directive But, i cannot get the refresh event to work |
Also you have a grid-stack-schedules which doesn't seem necessary at quick glance. That might be causing an issue. I forget the specifics with the layouts on iOS and making this work. I've encountered it before and just tweaking the layout resolves the issue. I just never know what it is exactly :) I don't do a lot of iOS so I just get it working and move on. I'll ping Peter later or you can on the issue and see if he has any thoughts from your code. |
Yes right. The listview needs to be a direct child of PullToRefresh I got the correct syntax now for angular2. Maybe you should include this in your readme for angular2
|
So it's working now? If so I can add it to the README or if you want to submit a PR with that below the plain NS sample that would be great 😄 |
I think an example in the readme is ok. If i ever get to check dive deeper in the code i'll create a PR |
hello, help me, i got same issue with this. Im use pulltorefresh, to get data from db and check them with current data.. not for listview.. this work perfectly for Android, but not for IOS. 😢 Here my code: my UI.xml
my controller.js
|
file:///app/tns_modules/nativescript-pulltorefresh/pulltorefresh.js:65:71: JS ERROR Error: Content must inherit from UIScrollView!
The text was updated successfully, but these errors were encountered: