Navigation

    Monaca & Onsen UI
    • Register
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. poorna.soysa
    P
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    poorna.soysa

    @poorna.soysa

    0
    Reputation
    6
    Posts
    1046
    Profile views
    0
    Followers
    1
    Following
    Joined Last Online

    poorna.soysa Follow

    Posts made by poorna.soysa

    • RE: Onsen UI list Items with dynamic height

      @Heartless_Slayer

      Can you describe your issue in detail? :)

      Cheers.

      posted in Onsen UI
      P
      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.

      posted in Onsen UI
      P
      poorna.soysa
    • 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:

      0_1461562253606_Screenshot_2016-04-25-10-56-07.png
      $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();
                  }
              };
      posted in Onsen UI
      P
      poorna.soysa
    • RE: social sharing plugin for ios and android

      @munsterlander : Thank You…I’l check it. :)

      posted in Monaca Tools
      P
      poorna.soysa
    • 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

      posted in Monaca Tools
      P
      poorna.soysa
    • 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)

      posted in Onsen UI
      P
      poorna.soysa