<div>Hey Guys,</div><div><br></div><div>I&#39;m working on AEROGEAR-565 to make id configurable. </div><div><br></div><div>I&#39;ve been taking a look at the JS and iOS and apis are very similar, both are getting a configuration parameter with the name of the field that represents the id. I like to see libraries close to but I don&#39;t know if this the best approach for the android.</div>
<div><br></div><div>I&#39;m in doubt in what would be the best solution (for android)</div><div><br></div><div>* Configuration</div><div><br></div><div># Pros</div><div>It requires no change in entity/model</div><div><br>
</div><div># Cons</div><div>Use reflections</div><div><br></div><div>* Interfaces</div><div><br></div><div># Pros</div><div>Typed paras</div><div><br></div><div># Cons</div><div>Requires implement on entity/model </div><div>
<br></div><div>* Annotation</div><div><br></div><div># Pros</div><div>Clean configuration</div><div><br></div><div># Cons</div><div>Use Scan/Reflection</div><div><br></div><div>Anyone have any thoughts or see any other solution?</div>