Comments (6)
This might be an issue with your layout, can you paste the snippet? If that's not it then something has broken recently, not necessarily the plugin source but core modules, android lib, etc. Will know more if I can see the layout you're using.
from nativescript-pulltorefresh.
This is the layout I use. It is inside a TabViewItem:
<GridLayout rows="auto,*" class="page-content" loaded="onLoaded">
<ListView row="1" class="listview list-top" items="{{items}}">
<ListView.itemTemplate>
<GridLayout>
<Label col="0" style="margin-right:98%;background-color:green;width:2%;" class="{{progress}}" text=" " />
<Label col="1" class="time" text="{{time}}"/>
<StackLayout col="2">
<Label class="fn" text="{{fname}}"/>
<Label class="ln" text="{{lname}}"/>
</StackLayout>
<StackLayout col="3">
<Label class="phone" text="{{phone}}"/>
</StackLayout>
</GridLayout>
</ListView.itemTemplate>
</ListView>
</GridLayout>
</PullRefresh:PullToRefresh> ```
from nativescript-pulltorefresh.
`If I put the PullRefresh inside the top GridLayout, the screen will be blank
from nativescript-pulltorefresh.
Any word on this?
from nativescript-pulltorefresh.
Any word?
from nativescript-pulltorefresh.
I think you need to put the PullToRefresh in your grid, the reason you say screen will be blank
is likely that you aren't assigning it a row in the grid and/or you don't have height/width for the component to know how to fill the parent. On Android this isn't as big of an issue as it is on iOS where iOS layouts don't automatically fill
their parent layouts by design.
I have updated the demo app today and it works fine, so the issue is your layout. If you need any further help, the slack channel or NS forums seem most appropriate right now. Thanks 😄
from nativescript-pulltorefresh.
Related Issues (20)
- Indicator Color HOT 2
- Conditionnnal blocked plugin
- color and backgroundColor property applies to content element GridLayout HOT 1
- Fails to build on Android for Nativescript 6.0.0 HOT 1
- app:runsbg after updating to nativescript 6 HOT 1
- Not working with webview on android, for ios works fine HOT 5
- iOS bounce up on refresh and no animation HOT 10
- Class not found android.support.v4.widget.SwipeRefreshLayout.OnRefreshListener HOT 3
- Android ViewPager2 increased sensitivity HOT 2
- Not working on iOS onLoaded or programmatically HOT 2
- Changelog for 2.0.0 ?
- Wrong version being downloaded by default HOT 2
- exception with version 3 HOT 8
- Cannot read property 'SwipeRefreshLayout' of undefined HOT 2
- How to prevent pull to refresh when dragging down on Google Maps? HOT 1
- Cannot access 'PullToRefresh' before initialization HOT 3
- FR: add api to show refreshing-indicator by script
- NativeScript 7 Support HOT 2
- tns plugin add @nstudio/[email protected] HOT 1
- Move to community HOT 3
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-pulltorefresh.