codebutler / farebot

Read data from public transit cards using your NFC Android phone!
http://codebutler.github.com/farebot
GNU General Public License v3.0
966 stars 271 forks source link

Implement TransitCardRegistryCompiler #159

Closed ZacSweers closed 5 years ago

ZacSweers commented 6 years ago

This implements a TransitCardRegistryCompiler annotation processor that uses Crumb to automatically track transit cards and generate them in a top level registry.

High level architecture:

I didn't know if you wanted to tweak anything about the top level registry API, so left that mostly alone right now and just made it wrap the generated registry.