After struggling with Fragments for three days, I finally sorted them on Friday.  The problem was that, in a two-fragment screen, the LH fragment that displayed a list of Waypoints, couldn't see the fragment in which to display the Waypoint details, so when I tried to display the details it fell over.  The solution, in the end, came down to the fact that I was expanding the details fragment in the wrong place - onActivityCreated rather than onCreate!

Once I'd fixed that, I've made some substantial progress.  The Waypoints facility is now working and enables me to store and update waypoints.  I've also implemented the Folios facilities, so that I can test the ability to refer to a Folio from a Waypoint.  The usual (for Microsoft Access) faciliy to define a new Folio from the Waypoint screen is now also working.

With those two facilities up and running, the next stage is to parameterise as much as possible so that the process of adding a new facility is as painless as it is with the Microsoft Access version.  That's tomorrow's task.



Leave a Reply.