Codetown ::: a software developer's community
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
Tags:
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.
Created by Michael Levin Dec 18, 2008 at 6:56pm. Last updated by Michael Levin May 4, 2018.
Check out the Codetown Jobs group.
During AI Week 2025, Cloudflare announced Application Confidence Scores, an automated assessment system that is designed to help organizations evaluate the safety and security of third-party AI applications at scale.
By Renato LosioVercel has rolled out the AI Gateway for production workloads. The service provides a single API endpoint for accessing a wide range of large language and generative models, aiming to simplify integration and management for developers.
By Daniel DominguezStefania Chaplin explains how to integrate security into engineering workflows and teams using a "Secure by Design" approach. Drawing on her extensive experience, she shares practical strategies for a security-first culture by focusing on people, processes, and technology, including the use of security champions and automation to improve resilience and reduce costs.
By Stefania ChaplinShane Hastie, Lead Editor for Culture & Methods, spoke to Thanos Diacakis about how teams often struggle with software delivery. He proposes a shift in mental models and a four-step framework to systematically improve software development by focusing on bottlenecks, balancing different types of work beyond just feature delivery, and investing 20-30% of effort in improving how the team works.
By Thanos DiacakisNext.js 15.5 has landed, delivering faster builds and powerful server-side middleware. Key highlights include the Turbopack bundler, which boosts compilation speed by 2x to 5x, and Node.js middleware enhancements. TypeScript improvements enhance developer experience with stable typed routes and early error detection.
By Daniel Curtis
© 2025 Created by Michael Levin.
Powered by