• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

cursorLoader incompatibility v4  RSS feed

 
Ranch Hand
Posts: 491
10
Android Open BSD Slackware
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All,


EDIT: I apologize, the code does not scroll and take all the page for a reason i do not know
EDIT 2 is working. First of all i uncommented the cursor lines under populateview(), then in the main class instead of getSupportFragmentManager, i used getFragmenttManager
then cherry on the cake i changed
initLoader(0, null, this) to intLoader(0,null, (LoaderCallbacks<Cursor>) this


as per Subject,
I am not able to run the loaders in this class, I have big issues with v4 support libraries, but on the other side if i do not use them the main class that extends v7 Actionbaractivity does not start
giving me the error
Error:(21, 21) error: no suitable method found for add(int,FragmentAsList)
method FragmentTransaction.add(int,Fragment,String) is not applicable
(actual and formal argument lists differ in length)
method FragmentTransaction.add(int,Fragment) is not applicable
(actual argument FragmentAsList cannot be converted to Fragment by method invocation conversion)
method FragmentTransaction.add(Fragment,String) is not applicable
(actual argument int cannot be converted to Fragment by method invocation conversion)

the project has min sdk11


and this is the main class

 
yeah, but ... what would PIE do? Especially concerning this tiny ad:
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!