Dear Andy,
I saw that 2 hours ago you committed 'android-binding-v0.6-build714.jar'.
Can I use this for my project instead of compiling the git-source (I can't really do that :/ )?
If, yes, then I have another problem:
1. I use Android Studio, which does not create an application class by default, so I did that, it's source is the following:
public class JsonTestApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
Binder.init(this, new DefaultKernelV30());
}
}
2. I also modify my AndroidManifest, so this app-class is used at startup.
3. I subclass my one and only Activity from 'BindingActivityV30', and my 'onCreate' is the following:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
try
{
this.inflateAndBind(R.layout.activity_main, new TestVM());
}
catch(Exception ex)
{
ex.printStackTrace();
}
}
I do nothing in the layout.xml, don't use any binding.
4. When I run my app, the breakpoint hits in the App.OnCreate (OK!), hits my Activity's onCreate (OK!), my code rans without exception (OK!), but when onCreate finishes the emulator shows that the app is crashed/got to be closed.
Would you help me, please?
I tried to check your ICS demo-source, but it subclasses from a different activity (BindingABSActivity), which requires a plugin addition, and the plugin addition requires some externel references (com.actionbarsherlock) which I could not solve.
Thanks,
Bye,
Csabi