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.

cannot cast andoid.app.fragment to com.hilights.rsobol.workout.WorkoutDetailFragment

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.

Thank you in advance for your help,

Rob

rsobol@hilightsinc.com

Views: 184

Attachments:

Reply to This

Happy 10th year, JCertif!

Notes

Welcome to Codetown!

Codetown is a social network. It's got blogs, forums, groups, personal pages and more! You might think of Codetown as a funky camper van with lots of compartments for your stuff and a great multimedia system, too! Best of all, Codetown has room for all of your friends.

When you create a profile for yourself you get a personal page automatically. That's where you can be creative and do your own thing. People who want to get to know you will click on your name or picture and…
Continue

Created by Michael Levin Dec 18, 2008 at 6:56pm. Last updated by Michael Levin May 4, 2018.

Looking for Jobs or Staff?

Check out the Codetown Jobs group.

 

Enjoy the site? Support Codetown with your donation.



InfoQ Reading List

Lessons Learned in Migrating to Micro-Frontends by Luca Mezzalira at QCon SF

Dynamic technology leader with expertise in transitioning from monolithic to micro-frontend architectures. Advocate for prioritizing architectural intent and cultural changes alongside development. Skilled in optimizing team autonomy, enhancing agility, and streamlining deployment strategies to facilitate rapid, sustainable growth, all while ensuring effective communication and state management.

By Steef-Jan Wiggers

Aspire 13 Delivers Multi-Language Support and Significant Enhancements Across the Platform

Aspire 13 has been released as a major milestone in the platform's evolution. As reported by the team, Aspire is no longer branded as “.NET Aspire” and is now positioned as a full polyglot application platform. According to the announcement, version 13 brings first-class support for Python and JavaScript alongside existing .NET capabilities, marking a significant shift forward.

By Almir Vuk

Presentation: Your Platform is Not an Island: Embracing Evolution in Your Ecosystem

Rachael Wonnacott explains why DevEx is a lever, not the destination. Discover the risks of treating your platform as an isolated product and learn how to balance trade-offs between technical expertise, productivity, and business impact for achieving enterprise-scale success.

By Rachael Wonnacott

Buoyant Announces MCP Support for Linkerd, Extending Service Mesh Capabilities to Agentic AI Traffic

Buoyant, the company behind the open-source Linkerd service mesh, announced that Linkerd now supports the Model Context Protocol (MCP), making it the first service mesh to natively manage, secure, and observe agentic AI traffic in Kubernetes environments.

By Craig Risi

Podcast: How to Use Apache Spark to Craft a Multi-Year Data Regression Testing and Simulations Framework

Vivek Yadav, an engineering manager from Stripe, shares his experience in building a testing system based on multi-year worth of data. He shares insights into why Apache Spark was the choice for creating such a system and how it fits in the "traditional" engineering practices.

By Vivek Yadav

© 2025   Created by Michael Levin.   Powered by

Badges  |  Report an Issue  |  Terms of Service