Saturday, June 30, 2012

Re: [android-developers] ContentValues issue




rideDate never gets assigned and the other values seem to not be assigned in order ie; distance may end up being the second element, when I would have expected rideDate to be the first and distance to be the fourth.
This is how I use the newRideValues collection.
new BikingLogsContentProvider().insert(CONTENT_URI, newRideValues);
Any ideas and suggestions would be very welcome.



Sequence of contentValues doesn't matter. The thing which matters here is the pair of key and value.
The value will always be inserted in the same column, with which you have associated it.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate