To share code between Xamarin and another project you move the shared code to its own library. This library must a .net standard 2.0 library. Then reference this library from both projects.
You may need to think about abstracting data access in the library as the apps may have different access to data.