This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Tue, Nov 09, 2010 at 03:11:57PM +0530, Santosh Rajan wrote:Also have a look at the latest example here which is much simpler. http://per.bothner.com/blog/2010/AndroidHelloScheme/
Thanks for the swift answer, I never found that blog post (nor your own blog posts) when googling.
This makes things much simpler ;) I've been trying to create macros and code that allow me to create an android list based on two functions, one that returns the data, and one that creates the views. For this, I tried to subclass ArrayAdapter, but then I found I had to store the view creation function in the class. How can I declare a member field in a java class that has a type that allows me to store arbitrary functions? What is the correct type: to use?
(define-simple-class my-class (...) (myField ::procedure))
The :: syntax is equivalent to type: -- --Per Bothner per@bothner.com http://per.bothner.com/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |