Answer the question
In order to leave comments, you need to log in
How to make the result of the toString() method be displayed in a beautiful ladder, like JSON?
If you make toString () of some more or less complex class using the default Alt + Insert in Android Studio, then the output (when output to the log) is something like this:
Some1{f1=1, some=Some2{f2=2}}
Some1{
....f1=1
....some=Some2{
........f2=2
....}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question