Closed kmd2410 closed 1 year ago
I want to change the screen while maintaining the serial connection.
please have a look at the service
member of the terminal fragment class. By using setRetainInstance
this member stays valid over rotation or sending the app to background. You could also store it at the Activity or Application object.
I succeeded in connecting and reading data with your wonderful code. I want to switch pages while staying connected after being connected. Can you advise me how to do it? thank taecher..