Protobuf Kotlin Android Sample

This is a sample project to showcase the new Kotlin support for protocol buffers. The data for the random dog is supplied by https://dog.ceo/dog-api/ with the random dog API

Libraries

Module Structure

Quick File Links

How to Run

Since this project has a local ktor server to return a simple result of dogs to the Android client. The fastest way to get this server up and running is by clicking on the play button next to the Application.kt main() function. Then you can run the app on an emulator to get the response. The retrofit client is specifically pointed at the local host ip address for an emulator, if you use a physical device you will need to update the baseUrl appropriately.