<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-24248206.post7547842925285864702..comments</id><updated>2012-02-22T14:25:24.300+01:00</updated><category term='parser generator'/><category term='case study'/><category term='DSLs'/><category term='helios'/><category term='slides'/><category term='left factoring'/><category term='javascript'/><category term='nordic coding'/><category term='domain-specific languages'/><category term='kotlin'/><category term='jdt'/><category term='autosar'/><category term='conference'/><category term='Java multi-line strings'/><category term='xpand'/><category term='scoping'/><category term='extension methods'/><category term='CG2011'/><category term='Galileo'/><category term='itemis'/><category term='UML modeling brumm brumm'/><category term='GSoC'/><category term='Languages'/><category term='git'/><category term='eclipse modeling itemis'/><category term='DSL'/><category term='DSL code generation eclipse xtext slides'/><category term='xtext'/><category term='eclipse'/><category term='Eclipse EclipseCon Modeling Xtext'/><category term='Guice'/><category term='code generation'/><category term='presentations'/><category term='language design'/><category term='builder API'/><category term='guicecon'/><category term='emf index'/><category term='JVM'/><category term='scala'/><category term='OSGi'/><category term='eclipsecon'/><category term='java'/><category term='democamps'/><category term='refactoring'/><category term='english'/><category term='webinar'/><category term='Java testing performance'/><category term='example'/><category term='protocol buffers'/><category term='left recursion'/><category term='jax 2010'/><category term='website'/><category term='lambda'/><category term='fowler'/><category term='api design'/><category term='packrat'/><category term='java.scala'/><category term='oaw eclipse xtext'/><category term='android'/><category term='expressions'/><category term='MDSD'/><category term='xtend'/><category term='groovy'/><category term='eclipse summit'/><category term='index'/><category term='xbase'/><category term='modeling'/><category term='kiel'/><category term='release'/><category term='automotive'/><category term='http://www.blogger.com/img/gl.link.gif'/><category term='xtend 2'/><category term='internal DSLs'/><category term='oAW'/><category term='codegeneration'/><category term='OpenJDK'/><title type='text'>Comments on Sven Efftinge's Blog: Writing Android UIs with Xtend</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.efftinge.de/feeds/7547842925285864702/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24248206/7547842925285864702/comments/default'/><link rel='alternate' type='text/html' href='http://blog.efftinge.de/2011/12/writing-android-uis-with-xtend.html'/><author><name>Sven Efftinge</name><uri>http://www.blogger.com/profile/11751196715155150517</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_Ii_da0jTxAY/SNxsRY6r26I/AAAAAAAAABk/WzYcCAnzC9Q/S220/foto-openbc.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-24248206.post-7697747866326131787</id><published>2012-02-22T14:25:24.300+01:00</published><updated>2012-02-22T14:25:24.300+01:00</updated><title type='text'>Xtend Closures are automatically converted to anon...</title><content type='html'>Xtend Closures are automatically converted to anonymous classes of the expected type.&lt;br /&gt;&lt;br /&gt;That is :&lt;br /&gt;&lt;br /&gt;onClickListener = [ &lt;br /&gt;          this.textMessage(&amp;#39;Hello you clicked me!&amp;#39;).show&lt;br /&gt;        ]&lt;br /&gt;&lt;br /&gt;really translates to the following Java code:&lt;br /&gt;&lt;br /&gt;setOnClickListener(new OnClickListener() {&lt;br /&gt;  public void onClick(View it) {&lt;br /&gt;    AppActivity.this.textMessage(&amp;quot;Hello you clicked me!&amp;quot;).show();&lt;br /&gt;  }&lt;br /&gt;});</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24248206/7547842925285864702/comments/default/7697747866326131787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24248206/7547842925285864702/comments/default/7697747866326131787'/><link rel='alternate' type='text/html' href='http://blog.efftinge.de/2011/12/writing-android-uis-with-xtend.html?showComment=1329917124300#c7697747866326131787' title=''/><author><name>Sven Efftinge</name><uri>http://www.blogger.com/profile/11751196715155150517</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_Ii_da0jTxAY/SNxsRY6r26I/AAAAAAAAABk/WzYcCAnzC9Q/S220/foto-openbc.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.efftinge.de/2011/12/writing-android-uis-with-xtend.html' ref='tag:blogger.com,1999:blog-24248206.post-7547842925285864702' source='http://www.blogger.com/feeds/24248206/posts/default/7547842925285864702' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1100628811'/></entry><entry><id>tag:blogger.com,1999:blog-24248206.post-9184105039657794455</id><published>2012-02-22T13:55:56.779+01:00</published><updated>2012-02-22T13:55:56.779+01:00</updated><title type='text'>Hi,I&amp;#39;m very interested in developing android a...</title><content type='html'>Hi,I&amp;#39;m very interested in developing android app in Xtend.&lt;br /&gt;&lt;br /&gt;How does closure convert to interface?&lt;br /&gt;ex:&lt;br /&gt;[this.textMessage(&amp;#39;Hello you clicked me!&amp;#39;).show]&lt;br /&gt;-&amp;gt;&lt;br /&gt;new OnClickListener() {&lt;br /&gt;  public void onClick(View v) {&lt;br /&gt;    // ...&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;Where does method name(ex:&amp;#39;onClick&amp;#39;) come from...?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24248206/7547842925285864702/comments/default/9184105039657794455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24248206/7547842925285864702/comments/default/9184105039657794455'/><link rel='alternate' type='text/html' href='http://blog.efftinge.de/2011/12/writing-android-uis-with-xtend.html?showComment=1329915356779#c9184105039657794455' title=''/><author><name>Satoshi</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.efftinge.de/2011/12/writing-android-uis-with-xtend.html' ref='tag:blogger.com,1999:blog-24248206.post-7547842925285864702' source='http://www.blogger.com/feeds/24248206/posts/default/7547842925285864702' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1018562824'/></entry><entry><id>tag:blogger.com,1999:blog-24248206.post-7570135961436561368</id><published>2012-01-17T07:32:05.318+01:00</published><updated>2012-01-17T07:32:05.318+01:00</updated><title type='text'>Hi Toby, 
in Xtend you derefernce inner classes wi...</title><content type='html'>Hi Toby, &lt;br /&gt;in Xtend you derefernce inner classes with a dollar sign as namespace delimiter. See the project on Github.&lt;br /&gt;&lt;br /&gt;https://github.com/svenefftinge/xtend-android-experiments</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24248206/7547842925285864702/comments/default/7570135961436561368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24248206/7547842925285864702/comments/default/7570135961436561368'/><link rel='alternate' type='text/html' href='http://blog.efftinge.de/2011/12/writing-android-uis-with-xtend.html?showComment=1326781925318#c7570135961436561368' title=''/><author><name>Sven Efftinge</name><uri>http://www.blogger.com/profile/11751196715155150517</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_Ii_da0jTxAY/SNxsRY6r26I/AAAAAAAAABk/WzYcCAnzC9Q/S220/foto-openbc.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.efftinge.de/2011/12/writing-android-uis-with-xtend.html' ref='tag:blogger.com,1999:blog-24248206.post-7547842925285864702' source='http://www.blogger.com/feeds/24248206/posts/default/7547842925285864702' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1100628811'/></entry><entry><id>tag:blogger.com,1999:blog-24248206.post-3937436082392761821</id><published>2012-01-16T15:25:04.089+01:00</published><updated>2012-01-16T15:25:04.089+01:00</updated><title type='text'>I noticed that the R class (generated by Android) ...</title><content type='html'>I noticed that the R class (generated by Android) is not available inside the Activity. In your example project, if you try to access R::layout::main for example, Xtend gives errors, even though you can add it to the generated Java class without issues. Is there a way around this problem?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24248206/7547842925285864702/comments/default/3937436082392761821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24248206/7547842925285864702/comments/default/3937436082392761821'/><link rel='alternate' type='text/html' href='http://blog.efftinge.de/2011/12/writing-android-uis-with-xtend.html?showComment=1326723904089#c3937436082392761821' title=''/><author><name>Toby</name><uri>http://www.blogger.com/profile/12692033642355108823</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.efftinge.de/2011/12/writing-android-uis-with-xtend.html' ref='tag:blogger.com,1999:blog-24248206.post-7547842925285864702' source='http://www.blogger.com/feeds/24248206/posts/default/7547842925285864702' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1957548440'/></entry><entry><id>tag:blogger.com,1999:blog-24248206.post-5183866264047077451</id><published>2011-12-15T20:14:32.136+01:00</published><updated>2011-12-15T20:14:32.136+01:00</updated><title type='text'>Hi Sven,

there is a project on github called Andr...</title><content type='html'>Hi Sven,&lt;br /&gt;&lt;br /&gt;there is a project on github called AndroText (currently under  development), which aims to generate android application based on Xtext technology, you could check it out (https://github.com/CMark/androtext), it can generate gui elements, data binding...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24248206/7547842925285864702/comments/default/5183866264047077451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24248206/7547842925285864702/comments/default/5183866264047077451'/><link rel='alternate' type='text/html' href='http://blog.efftinge.de/2011/12/writing-android-uis-with-xtend.html?showComment=1323976472136#c5183866264047077451' title=''/><author><name>GergelyJuhasz</name><uri>http://www.blogger.com/profile/06241295033975284688</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.efftinge.de/2011/12/writing-android-uis-with-xtend.html' ref='tag:blogger.com,1999:blog-24248206.post-7547842925285864702' source='http://www.blogger.com/feeds/24248206/posts/default/7547842925285864702' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-864660572'/></entry><entry><id>tag:blogger.com,1999:blog-24248206.post-6545612099014350120</id><published>2011-12-13T13:21:08.266+01:00</published><updated>2011-12-13T13:21:08.266+01:00</updated><title type='text'>Thanks Sven that is exactly what I needed!! I was ...</title><content type='html'>Thanks Sven that is exactly what I needed!! I was trying to find a duplicate file (looking to try to remove them) but instead I just needed to add the jar as dependencies in the build path.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24248206/7547842925285864702/comments/default/6545612099014350120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24248206/7547842925285864702/comments/default/6545612099014350120'/><link rel='alternate' type='text/html' href='http://blog.efftinge.de/2011/12/writing-android-uis-with-xtend.html?showComment=1323778868266#c6545612099014350120' title=''/><author><name>Lateef Jackson</name><uri>http://www.blogger.com/profile/10815442680804512030</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_gdF4RvqRiIw/SgA-pRtFYyI/AAAAAAAAB00/nd0G4Gil5CM/S220/Photo+4.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.efftinge.de/2011/12/writing-android-uis-with-xtend.html' ref='tag:blogger.com,1999:blog-24248206.post-7547842925285864702' source='http://www.blogger.com/feeds/24248206/posts/default/7547842925285864702' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2114075552'/></entry><entry><id>tag:blogger.com,1999:blog-24248206.post-6510078648028565171</id><published>2011-12-13T08:28:22.538+01:00</published><updated>2011-12-13T08:28:22.538+01:00</updated><title type='text'>I copied the needed jars to the project. Android c...</title><content type='html'>I copied the needed jars to the project. Android complaints about duplicate resources. Unfortunately the sometimes exist :-(&lt;br /&gt;&lt;br /&gt;I pushed the correctly configured android project to github :&lt;br /&gt;https://github.com/svenefftinge/xtend-android-experiments</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24248206/7547842925285864702/comments/default/6510078648028565171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24248206/7547842925285864702/comments/default/6510078648028565171'/><link rel='alternate' type='text/html' href='http://blog.efftinge.de/2011/12/writing-android-uis-with-xtend.html?showComment=1323761302538#c6510078648028565171' title=''/><author><name>Sven Efftinge</name><uri>http://www.blogger.com/profile/11751196715155150517</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_Ii_da0jTxAY/SNxsRY6r26I/AAAAAAAAABk/WzYcCAnzC9Q/S220/foto-openbc.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.efftinge.de/2011/12/writing-android-uis-with-xtend.html' ref='tag:blogger.com,1999:blog-24248206.post-7547842925285864702' source='http://www.blogger.com/feeds/24248206/posts/default/7547842925285864702' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1100628811'/></entry><entry><id>tag:blogger.com,1999:blog-24248206.post-2474719161908497535</id><published>2011-12-13T02:29:04.383+01:00</published><updated>2011-12-13T02:29:04.383+01:00</updated><title type='text'>How where you able to work around the error:
Error...</title><content type='html'>How where you able to work around the error:&lt;br /&gt;Error generating final archive: Found duplicate file for APK: .settings/org.eclipse.jdt.core.prefs&lt;br /&gt;eclipse/plugins/com.google.guava_10.0.1.1.jar&lt;br /&gt;eclipse/plugins/com.google.inject_3.0.0.no_no_aop.jar&lt;br /&gt;&lt;br /&gt;I can get it to compile and generate the right Java code but not deploy. I can download the basic eclipse and try it since I am using the J2EE eclipse version.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24248206/7547842925285864702/comments/default/2474719161908497535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24248206/7547842925285864702/comments/default/2474719161908497535'/><link rel='alternate' type='text/html' href='http://blog.efftinge.de/2011/12/writing-android-uis-with-xtend.html?showComment=1323739744383#c2474719161908497535' title=''/><author><name>Lateef Jackson</name><uri>http://www.blogger.com/profile/10815442680804512030</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_gdF4RvqRiIw/SgA-pRtFYyI/AAAAAAAAB00/nd0G4Gil5CM/S220/Photo+4.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.efftinge.de/2011/12/writing-android-uis-with-xtend.html' ref='tag:blogger.com,1999:blog-24248206.post-7547842925285864702' source='http://www.blogger.com/feeds/24248206/posts/default/7547842925285864702' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2114075552'/></entry></feed>
