1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    6
    Vote Rating
    0
    szgch is on a distinguished road

      0  

    Default Answered: Help please, "NestedList" display nothing in Android4.0 by phonegap or Native build

    Answered: Help please, "NestedList" display nothing in Android4.0 by phonegap or Native build


    Dear All,

    1) NestedList run very well in Android 2.2/2.3


    2) "NestedList" can display ok in Andorid 4.0 by Default Browser;
    but can't display in Android4.0 by phonegap or Native build

    can you tell me why , thank you very very much!


    ===================================
    phonegap version: 1.3/1.6/1.8
    sencha touch : 2.0

    my source are as follows:


    1)divisionDataStore.js
    Ext.define('App.store.divisionDataStore', {
    extend: 'Ext.data.TreeStore',
    config: {
    autoLoad: true,

    model: 'App.model.dataMod',
    proxy: {
    noCache: false,
    enablePagingParams: false,
    type: 'ajax',
    url: './app/data/divisionData.json',
    reader: {
    type: 'json',
    rootProperty: 'items'
    }
    },
    }
    });


    2) divisionListView.js
    Ext.define('App.view.division.divisionListView', {
    extend: 'Ext.dataview.NestedList',
    xtype: 'divisionListView',
    id: 'divisionListView',

    config: {
    title: '分类',
    cls:'classify_panel',
    toolbar: {
    xtype: 'toolbar',
    id: 'divisionToolbar',
    items: [
    {
    xtype:'spacer',
    },
    {
    align:'right',
    text:'收藏',
    ui:'divisonFavor',
    id: 'divisonFavor',
    hidden:true,
    }
    ]
    },
    useTitleAsBackText: false,
    onItemDisclosure: false,
    store: 'divisionDataStore',
    detailCard: {
    xtype: 'divisionShowView',
    id: 'detailCard',
    cls:'showiner',
    },


    zIndex: 0
    },

    getTitleTextTpl: function() {
    return '<div class="fontsize">{title}</div>';
    },

    getItemTextTpl: function(node) {
    return '<DIV class="classify_font ">' +
    '<div class="classifyleft">'+
    '{title}' +
    '</div>'+
    '<div class="classifyright">'+
    '</div>'+
    '</DIV>';
    },
    });

  2. Try to disable animation, there's a known issue with animation in some versions of android and nested lists or tab panels

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,801
    Answers
    3467
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Do note that we don't support Android 2.0 and 2.1.

    What is the parent of the NestedList like?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  4. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    6
    Vote Rating
    0
    szgch is on a distinguished road

      0  

    Default


    Hi mitchellsimoens,

    Thank you for your reply,
    1) I tested it on android2.3 /android4.0/IOS5.0/5.1,
    "NestedList" can display well by all Default Browser or by phonegap/native build(except Android4.0),
    but can't display in Android4.0 by phonegap or Native build
    2)
    the parent of the NestedList is Ext.Container, and the parent of the Container is Ext.Component;
    do you have some method to slove this problem
    in Android4.0

    thank you!

  5. #4
    Sencha User
    Join Date
    Dec 2011
    Posts
    17
    Answers
    1
    Vote Rating
    0
    bionicmaster is on a distinguished road

      0  

    Default


    Try to disable animation, there's a known issue with animation in some versions of android and nested lists or tab panels

  6. #5
    Sencha User
    Join Date
    Dec 2011
    Posts
    6
    Vote Rating
    0
    szgch is on a distinguished road

      0  

    Default


    thank you for your reply , I try it several times, buy the problem was not solved

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi