Now treat message box as a center for people feel interested in a particular ride.
Note that the essense of a ride is people want move from place A to place B at particular time.
-- For each ride, add field that tracks all related user and related message. Owner is the creator of the ride.
-- For each message in persistent storage, add field that accociated a particular ride/recordID. In runtime, could use hashtable(Int recordID,List) data sturcture.
The List of Message and owner/participant is load to the messageBox instance during initialize. Specific messageBox UI is load from the message Box instance. Multiple user share the same instance throught passive refresh method.
Now treat message box as a center for people feel interested in a particular ride. Note that the essense of a ride is people want move from place A to place B at particular time. -- For each ride, add field that tracks all related user and related message. Owner is the creator of the ride. -- For each message in persistent storage, add field that accociated a particular ride/recordID. In runtime, could use hashtable(Int recordID,List) data sturcture.
The List of Message and owner/participant is load to the messageBox instance during initialize. Specific messageBox UI is load from the message Box instance. Multiple user share the same instance throught passive refresh method.