这是对的logcat输出widget对象后的目的或数字的含义是什么?例如,微调@ 4108d370 [英] What is the purpose or meaning of the number after the widget object for Logcat output? For example, Spinner@4108d370
问题描述
对于logcat的输出,什么是数字的含义是什么?例如,像一个微调插件的视图对象后4108d370,android.widget.Spinner@4108d370
For a Logcat output, what is the meaning of the number? For example, 4108d370 after the view object like a spinner widget, android.widget.Spinner@4108d370
推荐答案
这是哈希code <一个href=\"http://grep$c$c.com/file/repository.grep$c$c.com/java/root/jdk/openjdk/6-b14/java/lang/Object.java#Object.toString%28%29\" rel=\"nofollow\">http://grep$c$c.com/file/repository.grep$c$c.com/java/root/jdk/openjdk/6-b14/java/lang/Object.java#Object.toString%28%29
而且它不会帮助你与小部件或视图。
反正视图具有getId()方法。
It is hash code http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/lang/Object.java#Object.toString%28%29 And it will not help you with widget or view. Anyway View has getId() method.
这篇关于这是对的logcat输出widget对象后的目的或数字的含义是什么?例如,微调@ 4108d370的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!