Good question, I don't even know how they are instantiated!

I just got a CellList declared as:
private final CellList<Presentable> cellList = new CellList<Presentable>(new 
TileCell());

and call this method to update the list:

public void setTilesStartingAt(int start, List<Presentable> tiles) {
cellList.setRowData(start, tiles);
}

How are they instaniated, sorry I just started learning about cells.

Thanks Thomas
On Saturday April 20. 2013 at 12:39 PM, Thomas Broyer <[email protected]> 
wrote:

On Saturday, April 20, 2013 9:12:12 AM UTC+2, Mohammad Al-Quraian wrote:
I was just wondering if DI can be used in cell widget or not? I tried 
constructor and method injection but it seems that DI is never fired up on cell 
widgets.

You can use DI everywhere object creation can be done by the DI container (for 
instance, it means using @UiField(provided=true) or @UiFactory for UiBinder).

So the question is: how are your cells instantiated? 
--
You received this message because you are subscribed to a topic in the Google 
Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/google-web-toolkit/MS3J-6W7BBg/unsubscribe?hl=en
 
[https://groups.google.com/d/topic/google-web-toolkit/MS3J-6W7BBg/unsubscribe?hl=en].
To unsubscribe from this group and all its topics, send an email to 
[email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en 
[http://groups.google.com/group/google-web-toolkit?hl=en].
For more options, visit https://groups.google.com/groups/opt_out 
[https://groups.google.com/groups/opt_out].
 
 



Sent from Mailbird 
[http://www.getmailbird.com/?utm_source=signature&utm_medium=email&utm_campaign=SentWithMailbird_Windows]
 for Windows

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to