Answer the question
In order to leave comments, you need to log in
How to connect to MySQL (No suitable driver error)?
I am familiar with working with DB in java.
I installed JDBC and when connecting, the error java.sql.SQLException: No suitable driver found for jdbc: h2: ~/test
Tell me what I missed, how to connect correctly?
Answer the question
In order to leave comments, you need to log in
Rather the latter.
Add both layouts to FrameLayout and switch between them with setVisibility(View | GONE)
You can fix it if you put listeners on a new one, etc., but everything will turn out in a heap, so the concept is bad, one class - one layout, so you do either 2 fragments or 2 activities.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question