All Discussions Tagged 'Fragment' - Codetown2024-03-29T10:00:15Zhttps://codetown.com/forum/topic/listForTag?tag=Fragment&feed=yes&xn_auth=noError trying to use Fragmenttag:codetown.com,2017-10-10:2197786:Topic:579872017-10-10T13:38:16.614ZRobert Sobolhttps://codetown.com/profile/RobertSobol
<p>I am new to Android. I have been working thru some examples in a book called Head First Android Development. I entered a small program using fragments and get a Casting Error.</p>
<p></p>
<p>cannot cast andoid.app.fragment to com.hilights.rsobol.workout.WorkoutDetailFragment</p>
<p></p>
<p>I am hoping someone can download the attached zip file and show me the error of my ways. It is most likely a simple error that someone with some experience can see.</p>
<p></p>
<p>Thank you in advance…</p>
<p>I am new to Android. I have been working thru some examples in a book called Head First Android Development. I entered a small program using fragments and get a Casting Error.</p>
<p></p>
<p>cannot cast andoid.app.fragment to com.hilights.rsobol.workout.WorkoutDetailFragment</p>
<p></p>
<p>I am hoping someone can download the attached zip file and show me the error of my ways. It is most likely a simple error that someone with some experience can see.</p>
<p></p>
<p>Thank you in advance for your help,</p>
<p>Rob</p>
<p>rsobol@hilightsinc.com</p>