idocare-android
idocare-android copied to clipboard
Opensource license
Hi, I've been following your article as I'm about to start working on an opensource project to make an android app that displays songs for musicians. Its a complete rewrite of an existing app that has been largely created by the current maintainer using drag and drop and android classes and libraries.
I've been planning on using eventbus and dagger2, and have taken a look at the code here and I'd really like to use the code as a pattern, including the background thread posting classes, as well as use the dagger classes and eventbus classes to learn to use those libraries and also to use the MVC pattern generally as you suggest it.
Is it cool if I just use the code? I will put a link into the code to the article and the github page, but I wondered if you include a license with the code, as I can't find it in the code base. Many thanks for your articles. I've been programming for many years as an amateur, but this will be my first android app, and the explanation of how to use the activities and fragments as controllers is something I completely agree with, but would have taken me a good while to establish myself.
Hey, Thank you for letting me know - I take your interest as a big compliment. You can use whatever code you'd like from my projects in this GitHub account. When not specified - Apache 2 license is implicit.
Specifically, these are the best sources for patterns:
- You can take Dagger 2 setup from android_application_template (simply copy-paste "dependencyinjection" package)
- MVC pattern is best taken from android_application_template as well (incl. ViewMvcFactory class)
- For thread posters I already created a separate project, but got stuck at publishing stage. So that would be the best place to take it from.
Good luck.
Also, if you haven't seen it yet, in this video tutorial I explain why dependency injection code looks the way it looks.
Thanks dude. That's really helpful, and you've saved me hours of barking up the wrong tree whilst I familiarise myself with Java and Android coming from C++ (long time ago) and ruby and rails, webdev etc more recently.