Hi,
I am optimizing the critical parts of my code, and I coming to some
ResourceCursorAdapter bindView method.
Though the method is quite long, I saw on traceview that only 2 lines are
taking 40% of the time in traceview; those are call to DateFormat:
((TextView)view.findViewById(R.id.EPG_list_item_hour)).setText(
android.text.format.DateFormat.format("kk:mm",beginTimeMilli) + " - " +
android.text.format.DateFormat.format("kk:mm",endTimeMilli));
So just curious: Is there any more efficient way to transform a
"timeMillisecond" time to a date string (in my case hour/minute)?
Thierry.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en