Re: [android-developers] Multiple ViewPagers in one activity (bug in support library?)

2012-09-28 Thread Cel
thanks for posting the answer! i have a similar problem, but im not sure how exactly did you change the id of the fragments? i.e. with ViewPager we do not add the fragments ourselves so cannot assign the tag there, and the fragments are instantiated in code, so cannot set the id in xml? ta! --

[android-developers] Re: ContentProviderResult[] delete fail or success

2011-11-04 Thread Cel
there seems to be no documentation on this, any ideas please? -- 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-dev

[android-developers] ContentProviderResult[] delete fail or success

2011-11-01 Thread Cel
When using contentResolver.delete(uri, null, null) then determining success can be done by looking at the return value of how many rows were affected. However, deleting a contact through ContentProviderOperation and applyBatch returns ContentProviderResult[] How can you identify whether the delet

[android-developers] onBackPressed to hide Not destroy activity

2011-05-06 Thread Cel
i know how to cancel back keypress, so that the activity / main window stays visible: public void onBackPressed() { return; } my aim is to hide the activity, however, without finishing it, how do you do that in the onBackPressed event? i.e. I would like to get as far as onPause()