fidesmo / nordpol

The Android Support Library for NFC
MIT License
53 stars 10 forks source link

Use builder pattern for TagDispatcher #54

Closed slomo closed 8 years ago

slomo commented 8 years ago

Currently the code to create a new TagDispatcher might look like this

dispatcher = TagDispatcher.get(this, tagArbiter, true, true, false, true, false, true);

Which is confusing. Maybe the builder pattern could improve the api here.

ghost commented 8 years ago

@slomo Totally.

dschuermann commented 8 years ago

:+1: