I was using some Logs to debug some issues in my app, and when I used String.valueOf(view)
in a onClick(View view)
.
I logged Log.d("Values", "HomeFragment: onClick. view = " + String.valueOf(view));
The result of the Log was:
D/Values: HomeFragment: onClick. view = android.widget.RelativeLayout{cca8bb V.E...C.. ...P.... 0,512-1080,1024 #7f0c0079 app:id/button_2}
I would like to know what that means. I have been trying to get the information from the Android Developers reference, but the closest was the deffinition of valueOf (Object value)
that is too generic.
Where should I go to get the information returned for a specific object by String.valueOf()
?