CustomRenderer from custom imported .aar and ios views

boris_dvboris_dv USMember ✭✭


im working on an app in our company that is based on xamarin.forms. The problem that im trying to solve for a while now is that i have to import custom views (camera ocr) that we received from an external company (as .aar library). My idea is to create a binding library and then create a custom renderer that will use the imported UI views. Im looking for any useful information for a week now .. and the only thing i found out is that importing native libraries is pain .. :smiley:

So i have a few questions for experienced members ...

  1. Is my idea possible ? Can i import some complete native views ? (both android/ios) and use them using custom renderer in a .forms app ?
  2. If yes ... what is the best widget/view type in android to import from .aar (they created a Fragment , but i can ask them to change to something else ...)
  3. Are there any examples of something similar ? (not basic aar imports with one simple method that returns a string ...)
  4. We didnt received ios libraries yet ... any tips for ios native views binding ?

Thank you


Sign In or Register to comment.