Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use sensor data in 2 different activity. #3

Open
baysgalan19 opened this issue Jan 21, 2021 · 2 comments
Open

how to use sensor data in 2 different activity. #3

baysgalan19 opened this issue Jan 21, 2021 · 2 comments

Comments

@baysgalan19
Copy link

Example application using ViewModel. I want to use 2 different activity. Can you please help me

@fancycww
Copy link
Contributor

fancycww commented Feb 7, 2021

Hi,
I think you can share the ViewModel in different activities.

@baysgalan19
Copy link
Author

Hello, can you provide me any examples? When I searched on the internet. All information says you can't share ViewModel in different activities. ViewModel can be shared between fragments. What I wanna do is I have the main activity that can connect our sensors. Next is I wanna start my sensor data recording in another activity. If possible can you make examples.

Another thing is I can't find the previous xsens dot developer form can you share me link.
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants