Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSTEPHEN MUSONDA
2,146 Points@OnClick (R.id.dailyButton) Not Working
I have written code following the lecture and the app is working except when I click the button dailyButton (7 Day). The screen that appeals is blank and the message appearing shows the following:
W/ViewRootImpl: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=730.63477, y[0]=1744.8047, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=2572411, downTime=2559913, deviceId=0, source=0x1002 }
What is the meaning of this message and how do I resolve this situation?
J A
Full Stack JavaScript Techdegree Student 4,646 PointsDo you have any call to the finish() function in your code where you create your intent?
Monis bana
61 PointsMonis bana
61 PointsUse R2 instead of R