Coder Social home page Coder Social logo

Comments (10)

johannilsson avatar johannilsson commented on May 27, 2024

Are you testing the example project, is the library referenced correct and on which device and Android version is this on?

from android-pulltorefresh.

alexfu avatar alexfu commented on May 27, 2024

Yes... It is the example project. I am targeting 2.3.3 in the Eclipse project, I have it referencing the library correctly. I also targeted other API levels and that didnt do anything. It works if I change the ID (so that it'll show up when looking it up via R.id) of the PullToRefreshListView and get it via findViewById()

I have a screen shot here: http://i43.tinypic.com/29c86f8.png

from android-pulltorefresh.

johannilsson avatar johannilsson commented on May 27, 2024

Have you changed the XML to reference the new package name as well? I've noticed that you renamed the package so I just want to be sure.

from android-pulltorefresh.

alexfu avatar alexfu commented on May 27, 2024

Yes, package names & references are correct.

from android-pulltorefresh.

johannilsson avatar johannilsson commented on May 27, 2024

The sample works fine here from 1.6 to 4.0+. Since you've changed the package there might be something else you've missed to change. Not sure how you've set up the project but from the screenshot it looks like the library isn't linked correctly as a library project.

from android-pulltorefresh.

alexfu avatar alexfu commented on May 27, 2024

The pulltorefresh project is setup to be a library project in my setup. I'm not sure what else there needs to be done. I haven't changed the package names in anyway, just the project name, which shouldn't have any effect on the library.

from android-pulltorefresh.

johannilsson avatar johannilsson commented on May 27, 2024

Well I have the same code running fine here, might be an issue with the environment? Tried with the latest Eclipse plugin? Here's a shot of my project setup in Eclipse, http://oi43.tinypic.com/otg7l0.jpg.

from android-pulltorefresh.

alexfu avatar alexfu commented on May 27, 2024

I figured out the problem... The original package was named: com.hallmark... but now it has completely changed to com.markupartist....

When did this happen?

from android-pulltorefresh.

johannilsson avatar johannilsson commented on May 27, 2024

Awesome! For the package name, it has always been com.markupartist. Maybe you based your initial work on a fork that changed the package? Closing this ticket now.

from android-pulltorefresh.

alexfu avatar alexfu commented on May 27, 2024

Hm.. oh well haha. That was my fault.

from android-pulltorefresh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.