Hello,
Welcome to our Microsoft Q&A platform!
Do you want to use (data access/REST) class in the Android or iOS project? If so, you can use DependencyService
to achieve it, The DependencyService class is a service locator that enables Xamarin.Forms applications to invoke native platform functionality from shared code.
The DependencyService class is a service locator that enables Xamarin.Forms applications to invoke native platform functionality from shared code..
If the (data access/REST) class in the shared XF project, based on my research, this answer is No.
Best Regards,
Leon Lu
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.