Skip to content
Advertisement

Tag: binding

fragment binding (symbol “id” cannot be resolved)

I am trying to use the binding method in android studio to connect two fragments using onCreate and onViewCreated methods. so far i am getting id not resolved error. I have already connected the fragments on the xml graph. Bellow is the code of the settings java file. Answer Make sure to add this in build.gradle(app) Then give sync project

Java bindBidirectional

I have the following problem. My task is to create a double bond between my sudoku field object and its graphical form in the GUI. So far I’ve managed to come up with something like this. The solution works, but if you enter any character other than a number, it throws a parse error. Caused by: java.text.ParseException: Unparseable number: “a”

Advertisement