Hybrid View

  1. #1
    Sencha User
    Join Date
    Jun 2010
    Location
    Germany near cologne
    Posts
    21
    Vote Rating
    0
    Mebel is on a distinguished road

      0  

    Default Answered: Trouble with device profile (All views are loaded)

    Answered: Trouble with device profile (All views are loaded)


    Hello,

    i getting trouble with my device profiles.
    Only one profile is called the function launch but all views are loaded.

    The views that are defined in bottom of phone.
    And the view that are defined in bottom of table too.

    What might be wrong ?

    So only the first view is used within my application. The views have the same xtype name.

    best regards
    mebel


  2. #2
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    698
    Answers
    41
    Vote Rating
    40
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

  3. #3
    Sencha User
    Join Date
    Jun 2010
    Location
    Germany near cologne
    Posts
    21
    Vote Rating
    0
    Mebel is on a distinguished road

      0  

    Default


    Thx. Thats helpfully.
    The idea from DodgyDave looks good.

    Code:
    Ext.define("myapp.view.iphone.MyView",
    ...
    Ext.define("myapp.view.android.MyView"
    ,...
    
    
    Ext.define('myapp.profile.android', {
        extend: 'Ext.app.Profile',
        launch: function() {
            myappp.view.android.MyView.addXtype('myView');
        }
    ...
    
    
    Ext.define('myapp.profile.iphone', {
        extend: 'Ext.app.Profile',
        launch: function() {
            myappp.view.iphone.MyView.addXtype('myView');
        }
    
    
    ...

  4. #4
    Sencha User
    Join Date
    Dec 2007
    Posts
    16
    Vote Rating
    0
    kisscool82 is on a distinguished road

      0  

    Default


    It does'nt work for me. adXtype is a private method.
    I tried with Ext.ClassManager.setAlias(), but it does'nt work too.
    Does anyone find a solution ?

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar