1. #1
    Sencha User
    Join Date
    May 2013
    Posts
    1
    Vote Rating
    0
    john87ts is on a distinguished road

      0  

    Default Unanswered: One view with different content each time

    Unanswered: One view with different content each time


    One view with different content each time

    Hello! I am very beginner on sencha touch and need some help.
    I have implemented a list and a view which contains one image, some text and a video. I want to use the same view but with different content with respect to which item in list is clicked. For example if the first item is clicked then show the view with image1, text1, and video1, if the second is clicked then the view with image2, text2 video2 and so on...
    My thought is to create a json which contains all the content (image1, text1, video1 and image2, ...). My issue is how can I implement this? How can I retrieve the data and show different content in the same view? Is there any tutorial?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Answers
    3356
    Vote Rating
    750
    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


    The data you want to show in the detail view isn't within the record in the list? Then you can do an ajax call to load more data.
    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.

Thread Participants: 1

Tags for this Thread

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