Source code for Firebase in Android series on doksaprosta blog. It is also a simple courier application for Android phones.
After importing/copying files you need to connect to your Firebase project and add Google API key for Maps/Places (it is referenced in source code as 'google_maps_key' string). If planning on using this project make sure to change 'PriceList.java' class, since it has really raw implementation.
Source code is described in detail on doksaprosta blog. If there's a part that is not currently covered, send me a message or an email.
The code was written mainly in MVP pattern though probably not in the perfect way (first time using any sort of architectural pattern :)).
The condition I was trying to satisfy was to isolate Activity/Fragment code from data manipulation and for Presenters to be left without any Android imports.
Code's quality surely could be better. Even when I'm writing this Readme I can see dozen of places where I could code differently.
Exceptions aren't handled properly in several cases, activities and fragments' lifecycles aren't always properly taken care of, margins and other UI things were pretty much ignored, etc. If time will allow, I'll update the code. I was just trying to show that even without solid coding experience you can actually implement some sort of back-end to your Android applications.
Feel free to do whatever it is you want with this code as long as license allows it (rights and limitations in License file). Copyright 2017 MichaĆ Wyrwa Mozilla Public License 2.0.