tag:blogger.com,1999:blog-5819005.post609270962363299370..comments2024-03-16T02:17:55.433-07:00Comments on Programming and politics: Some Tasty Scala SugarAnonymoushttp://www.blogger.com/profile/08698131967747444207noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-5819005.post-79921141948297855662009-10-22T08:18:15.755-07:002009-10-22T08:18:15.755-07:00Hi, thanks for the neat examples. Newb question f...Hi, thanks for the neat examples. Newb question for you - later examples of your final example, ViewGroup replace your update method with this:<br />def apply(index:Int) = new {<br /> def update(v:android.view.View) = base.addView(index,v)<br /> }<br /><br />What on earth is going on there? Wasn't vanilla update perfect for handling<br />myListView.views(i) = someView<br /><br />Thanks for the blog, keep it coming!Adam Rabunghttps://www.blogger.com/profile/08575207879136726271noreply@blogger.comtag:blogger.com,1999:blog-5819005.post-89476772282402953122009-09-15T03:06:53.112-07:002009-09-15T03:06:53.112-07:00Genius genius genius! Love it.
Cheers
Stephan - a...Genius genius genius! Love it.<br /><br />Cheers<br />Stephan - a Scala user and DDD proponent<br />http://www.codemokeyism.comStephan.Schmidthttps://www.blogger.com/profile/03845125686370893937noreply@blogger.com