Thanks for the reply.

So there is no way of working around this? I can select the items
individually ( at least the color is changed when i click on it ) and i can
make them react to the "tap" event.. Any idea how to find out which item i
selected using the tap event ?


2014-02-07 15:46 GMT+01:00 Christopher Zündorf <
[email protected]>:

> The qx.Mobile List is not intended to contain interactive ui element
> itself. It should just display informations, and make it possible to select
> one specific items. Each list item is clone of the original renderer, and
> that is why you are not able to click one of the child items inside a list
> item.
>
> This is because of performance issues. As a list can contain a huge amount
> of items, creating child widgets needs additional listeners etc. which may
> lead to memory leaks.
>
> I would listen to changeSelection event on a the list, open another page
> with the child list, and then select another item out of this list.
>
> This is also the typical mobile app navigation flow you may know from iOS.
>
> We had a meeting 2 weeks ago about enhancing the list to be interactive,
> and contain UI elements. Maybe we will enhance the list, till next release.
>
> Greetz Christopher
>
> Am 07.02.2014 um 14:41 schrieb Tobias Roeder <[email protected]>:
>
> > Hey guys :)
> >
> > short overview of my problem:
> >
> > I have a navigationpage on qooxdoo mobile. On that page is a
> mobile.list.List with custom list items.. Each list item consists of a
> icon, title, subtitle, three more thumbnail pictures and another list!
> > So each list item has another list with a random amount of items in it
> (between 2-5 mostly)
> >
> > Adding a "changeSelection" listener to the parent list items is no
> problem.. But whenever I try to add a "changeSelection" listener to the
> child list items, nothing happens.. No error, no alert.. nothing.
> >
> > How exactly would I have to add such a listener?
> > At the moment I do it like this:
> >
> > I set the entries of the parent list item with the .setDelegate()
> function. In that function I create my custom Item renderer and configure
> the Item to my needs.. I do the same for the child lists' items by
> retrieving the list widget on each list item of the parent list.
> > On these list widgets I use setDelegate() again. The data is displayed
> just fine in the child list items.. But when I use the same method
> (item.getChildList().addListener(...); it doesn't work..
> >
> > Any insights?
> >
> > Sorry for the confusing explanation :)
> >
> > Thanks in advance!
> >
> ------------------------------------------------------------------------------
> > Managing the Performance of Cloud-Based Applications
> > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> > Read the Whitepaper.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk_______________________________________________
> > qooxdoo-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to