Comments (11)
Hi @MuhammadTahir92
Sure.
Below you have a sample of my code.
<Pager [items]="groupedProperties"
#pager
dock="top"
[selectedIndex]="currentPagerIndex"
(selectedIndexChanged)="onIndexChanged($event)">
<ng-template pagerItemTemplate let-i="index" let-properties="item">
<StackLayout>
<!-- profiles -->
<StackLayout [style.width]="card.width" [class]="card.classes[i]">
<DockLayout stretchLastChild="true" class="container" height="100%">
....
<!-- content -->
<DockLayout dock="bottom" class="card-container">
<!-- info -->
<ListView [items]="properties" class="list-group">
<ng-template let-property="item">
<StackLayout>
<Fields [item]="property" (tap)="onTap(property)"></Fields>
</StackLayout>
</ng-template>
</ListView>
</DockLayout>
</DockLayout>
</StackLayout>
</ng-template>
</Pager>
If still doesn't work for you, please make an example in Playground and share with us. I guess it will be very useful for @triniwiz .
from nativescript-pager.
any update on it?
from nativescript-pager.
The core version works fine i need to do more testing on the angular side
from nativescript-pager.
ok
from nativescript-pager.
@triniwiz ListView
works fine inside of Pager
with angular. I use something like that in my apps.
@MuhammadTahir92 I guess your problem is with Ripple
plugin.
You use <RL:Ripple>
instead of registering Ripple
and use it like that <Ripple>
.
from nativescript-pager.
@alexandruantonica i test it but its not working result is the same as before ?
can you share your code sample in which you are using angular listview with pager
from nativescript-pager.
ok i will
from nativescript-pager.
well i also got same issue hear
and this is my play ground link
https://play.nativescript.org/?template=play-ng&id=c79l7G
from nativescript-pager.
its not showing any list item
from nativescript-pager.
Found the issue. You have to use ListView in a component. Directly using ListView in Pager doesn't work.
from nativescript-pager.
@zeesulehria What do you mean? A custom component?
from nativescript-pager.
Related Issues (20)
- iOS orientation issue using Pager + HtmlView HOT 3
- Vue Template Selector HOT 1
- iOS: item snap does not work while swiping when using tns-ios-v8-beta HOT 6
- iOS Image pager jerked when I swipe left HOT 4
- Changing a property on nested object causes ordering problems HOT 6
- iOS indicator color is not applied HOT 3
- Add vertical and horizontal orientation at the same time HOT 2
- Pager discards global context
- Error angular 9.1.0 HOT 3
- Angular 10 @nativescript-community/ui-pager 13.0.0-alpha.5 module import is not working HOT 2
- @nativescript-community/ui-pager":"^13.0.0-alpha.7 - Error - cant resolve - element-registry, lang-facade HOT 3
- Error: Can't resolve '@nativescript/core/data/observable-array/observable-array' Nativescript 7 HOT 3
- 13.0.0-alpha.10 crash with transformers="scale"
- selectedIndexChange value is undefined.
- Just Programatically Control HOT 1
- Feature Request: Revamping swipeEnd events HOT 1
- Unshift + selectedIndex bugged HOT 8
- 3 Pages in one view HOT 1
- Textview keyboard dismisses after one key tap.
- Build error on NS 8.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-pager.