jasonkneen / nl.fokkezb.form

[UNMAINTAINED] Alloy TableView Form Widget
http://form.fokkezb.nl/docs/
43 stars 15 forks source link

Android support #4

Closed davrosull closed 8 years ago

davrosull commented 10 years ago

I'm unable to get this working on Android. The view loads an empty Tableview.

I think this might be related to https://jira.appcelerator.org/browse/TIMOB-14285 where Android doesn't apply custom properties to proxy.

I have been able to get the table show by using the following in widget.js:

  $.table.setData(tableProp.sections);
  $.table.applyProperties(tableProp);

But I am unable to access all the event listeners that have been created.

FokkeZB commented 10 years ago

Thanks. I'm sure there will be more issues on Android. Can you put together a PR for Android support once you have it all sorted out?

davrosull commented 10 years ago

Looking further at it - custom properties aren't being passed when using setData or setSections either. Might be too much work with out that issue being fixed..

davrosull commented 10 years ago

After adding more coffee to my workflow.. I have this mostly working on Android. I'll tidy up and do a PR soon.