poorna.soysa
@poorna.soysa
Posts made by poorna.soysa
-
RE: Onsen UI list Items with dynamic height
Hi @IliaSky ,
Thanks for replying and second option is working fine. And again thanks for support .
:thumbsup: :thumbsup:
:thumbsup:
:thumbsup:Cheers.
-
Onsen UI list Items with dynamic height
Hi All,
I am developing an application which shows images from Instagram in ons-list (each image in one ons-list-item). Each image has different height. I set list item height in dynamically and its working. But my problem is there is gap between two list items.I attached sample screen shots.
Thank You. :):smiley:
$scope.loader = {configureItemScope: function (index, itemScope) { itemScope.canceler = $q.defer(); itemScope.item = { user_name: $scope.instagram[index].user.username, image: $scope.instagram[index].images.standard_resolution.url, image_height: $scope.instagram[index].images.standard_resolution.height, }; }, calculateItemHeight: function (index) { return $scope.instagram[index].images.standard_resolution.height + 80; }, countItems: function () { return $scope.instagram.length; }, destroyItemScope: function (index, itemScope) { itemScope.canceler.resolve(); } };
-
RE: social sharing plugin for ios and android
@munsterlander : Thank You…I’l check it. :)
-
social sharing plugin for ios and android
Dear All,
Please anyone know a social sharing plugin for ios and android ? I tried Share plugin in Monaca. But it’s only for android.
Thank You,
Poorna -
Error in navigation pushPage
Hi All,
Once I tried to navigate to another page I got following error.What is the reason for this issue?
Thank You
$scope.blogItemClick = function (item) { myNavigator.pushPage('page3.html'); };
**Error: **
TypeError: Cannot read property ‘$new’ of null
at Class.extend._createPageScope (file:///data/data/mobi.monaca.debugger/files/projects/cloud/56ffbab0fd17349877bc833f/www/components/loader.js:1472:19952)
at Class.<anonymous> (file:///data/data/mobi.monaca.debugger/files/projects/cloud/56ffbab0fd17349877bc833f/www/components/loader.js:1472:18905)
at processQueue (file:///data/data/mobi.monaca.debugger/files/projects/cloud/56ffbab0fd17349877bc833f/www/components/loader.js:1463:27583)
at file:///data/data/mobi.monaca.debugger/files/projects/cloud/56ffbab0fd17349877bc833f/www/components/loader.js:1463:27850
at Scope.$eval (file:///data/data/mobi.monaca.debugger/files/projects/cloud/56ffbab0fd17349877bc833f/www/components/loader.js:1464:8712)
at Scope.$digest (file:///data/data/mobi.monaca.debugger/files/projects/cloud/56ffbab0fd17349877bc833f/www/components/loader.js:1464:6452)
at Scope.$apply (file:///data/data/mobi.monaca.debugger/files/projects/cloud/56ffbab0fd17349877bc833f/www/components/loader.js:1464:9117)
at done (file:///data/data/mobi.monaca.debugger/files/projects/cloud/56ffbab0fd17349877bc833f/www/components/loader.js:1462:28472)
at completeRequest (file:///data/data/mobi.monaca.debugger/files/projects/cloud/56ffbab0fd17349877bc833f/www/components/loader.js:1462:32068)
at XMLHttpRequest.xhr.onload (file:///data/data/mobi.monaca.debugger/files/projects/cloud/56ffbab0fd17349877bc833f/www/components/loader.js:1463:829)