Hi, is there a way to make ion-refresher and collection-repeat work together?
If collection-repeat need its own ion-scroll, how can i use ion-refresher?
Right now i’m doing like this, but the height of the list rows doesn’t work as expected. If i remove the refresher instead it’s all right.
<ion-content class="has-header card-background padding">
<ion-refresher on-refresh="doRefresh(false)"
pulling-text="Scorri per aggiornare..."
refreshing-icon="ion-loading-c">
</ion-refresher>
<div class="list card my-item" collection-repeat="item in newsList"
collection-item-width="'100%'"
collection-item-height="getItemHeight(item)">...</div></ion-content>
Edit:
I’ve seen that the problem occur only if the rows have different size. In my case the rows can have multiple sizes depend on a property. example.
$scope.getItemHeight = function(item, index) {
if(item.imageUrl)
return 390;
else
return 205;
};
I can’t undestand why, pls help me out