Codetown ::: a software developer's community
My name is Rob Sobol.
I have been working through a book called Head First Android Development.
I hit a syntax error in a simple exercise that uses one fragment. I have been trying to figure out the error for days. I am hoping some in the forum can download the attached project and show we where I went wrong.
'Inconvertible types; cannot cast 'android.app.Fragment' to 'com.hilights.rsobol.workout.WorkoutDetailFragement'
It most likely is an obvious error that a newbie like me cannot see.
Thank you in advance for your support,
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.
Last week, Microsoft announced a new AI Chat Web App template, available in preview, designed to simplify AI development with .NET. This template is part of Microsoft's ongoing efforts to make AI more accessible, offering scaffolding and guidance in Visual Studio, Visual Studio Code, and the .NET CLI.
By Almir VukRichard Startin explores the relationship between complexity and performance through the lens of recent improvements to the Java String class, visiting continuous profiling and some assembly code.
By Richard StartinProgramming rules and guidelines improve code consistency, but misapplication can lead to poor results. Arne Mertz suggests that software developers selectively adopt rules and guidelines, and document deviations with clear explanations. They can discuss their experiences in communities or during their daily work, to foster collaboration and improve code quality without unnecessary bureaucracy.
By Ben LindersMicrosoft's Azure Elastic SAN, launched in early 2024, revolutionizes cloud block storage with unique autoscale capabilities, snapshot support, and CRC protection for enhanced data integrity. This fully managed solution simplifies storage management and optimizes costs, making it ideal for businesses seeking efficient, high-availability solutions in the cloud.
By Steef-Jan WiggersOne month after the release of Quarkus 3.18.0, version 3.19.0 was released in February 2025. This is the last release before the next long-term support (LTS) version, 3.20.0, which is now feature complete and scheduled to be released on March 26th according to the Release Planning guide. The new release uses the new @ConfigMapping infrastructure, UBI 9 images and Mockito’s inline strategy.
By Johan Janssen
© 2025 Created by Michael Levin.
Powered by