Sunday, August 7, 2011

[android-developers] Re: example of MergeCursor.

My code don't work (
mergeCursor = new MergeCursor(mCursors);
assertEquals(mCursors[0].getCount() +
mCursors[1].getCount(),
mergeCursor.getCount());

On Aug 7, 11:31 am, Andrei <entre...@gmail.com> wrote:
> Good afternoon.
> Please give an example of MergeCursor.
> I have 3 cursor: A, B, K
> How to join?
> I wrote
>   MergeCursor mergeCursor = new MergeCursor (mCursors);
> What's next?
>
> Ps this example is seen (http://www.java2s.com/Open-Source/Android/
> android-core/platform-cts/android/database/cts/
> MergeCursorTest.java.htm)

--
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

1 comment: