摘要:
这问题一般是在manifest.xml中没有配置相应的activity,或者配置的android:name 的路径不对,没写全。可是今天我在manifest中已经配置正确了activity还有这错误。原因在activity的构造方法我的activity中的构造方法中写多了参数,导致跳转时,初始activity出错,把参数去掉就可以了。 阅读全文
摘要:
void android.view.View.setTag(Objecttag)public void setTag (Object tag)Since: API Level 1Sets the tag associated with this view. A tag can be used to mark a view in its hierarchy and does not have to be unique within the hierarchy. Tags can also be used to store data within a view without resorting 阅读全文