Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageManager help? #46

Closed
shism2 opened this issue Nov 11, 2013 · 2 comments
Closed

ImageManager help? #46

shism2 opened this issue Nov 11, 2013 · 2 comments
Labels

Comments

@shism2
Copy link

shism2 commented Nov 11, 2013

I am having trouble doing this:

public void onCreate(Bundle savedInstanceState) {
    final Glide glide = Glide.get();
    if (!glide.isImageManagerSet()) {
        glide.setImageManagerBuilder(new ImageManager.Builder(this)
            .setXyzOption()
            ...
            .build()
        );
    }
}

For some reason, it keeps telling me (this) is wrong.

@sjudd
Copy link
Collaborator

sjudd commented Nov 12, 2013

Are you seeing an exception? That general pattern should be work fine, though those exact lines wont.

@shism2
Copy link
Author

shism2 commented Nov 13, 2013

Actually nevermind. I just needed to rebuild a couple times and it cleared up stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants