Monitor Activity Click Invalid
This address: Http://blog.csdn.net/caroline_wendy
Activity needs to be registered with
Manifest before it can be used in the
app ;
Manifest:
<activity android:name= "me.chunyu.tvdoctor.healthvideo.VideoPlayingActivity" android:label= "@string /app_name "/>
In the
G7anno of the internal library:
@ClickResponder () nv.o (this, videoplayingactivity.class) and @ContentView (id = r.layout.activity_healthvideo) public Class Videoplayingactivity extends Uactivity { private final static String TAG = "videoplayingactivity"; @Override public void Oncontinuecreate (Bundle savedinstancestate) { log.i ("DEBUG:" + TAG, "Jump" health Video "module succeeded.) "); Super.oncontinuecreate (savedinstancestate); }}
The current interface is represented by using @clickresponder (ID), which represents the function, passing in the
parameter view.
Android-Monitor activity clicks Invalid