从Sencha Touch 2中的商店加载轮播吗? [英] Loading a Carousel from a Store in Sencha Touch 2?
本文介绍了从Sencha Touch 2中的商店加载轮播吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有人有代码示例可以从商店(在我的情况下为JSON商店)中加载Sencha Touch 2 Carousel组件?我知道如何加载扩展DataView的List,但是Carousel似乎不容易破解,因为它不扩展DataView。
Does anyone have a code example which would enable loading of a Sencha Touch 2 Carousel component from a Store (a JSON Store in my case)? I understand how to load a List which extends DataView, but Carousel appears to be a harder nut to crack since it does not extend DataView.
推荐答案
使用该框架没有内置的干净方法,但是Ed Spencer(在Touch 2上与我一起工作)写了一篇关于如何做到这一点的博客文章:
There is no built-in clean way to do this with the framework, however Ed Spencer (who works alongside me on Touch 2) wrote a blog post on how to do it:
这篇关于从Sencha Touch 2中的商店加载轮播吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文