Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

Glide preloader exception #17

Open
d3bt3ch opened this issue Mar 4, 2018 · 2 comments
Open

Glide preloader exception #17

d3bt3ch opened this issue Mar 4, 2018 · 2 comments

Comments

@d3bt3ch
Copy link

d3bt3ch commented Mar 4, 2018

@Arasthel I don't know whether it would be possible or not but because 'SpannedGridLayoutManager' has not been extended from 'LinearLayoutManager' a lot of code is breaking including the glide preloader component.

@d3bt3ch
Copy link
Author

d3bt3ch commented Sep 14, 2018

@Arasthel No reply for over 6 months.

@jmartinesp
Copy link
Owner

Sorry, but it seems like this is a Glide limitation.

There are 2 solutions to this issue:

  1. Make the LayoutManager extend LinearLayoutManager. It might be possible, but I'd need to do several tests first to check that nothing breaks. Also, test it with some other libraries like this to check if the integration actually works as intended.
  2. Modify the code of the Preloader to use any LayoutManager, as right now LinearLayoutManager is forcefully casted. Then, test if it works with this LayoutManager.

I might try to do the first, but I don't have much time right now, so don't expect anything soon.

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

No branches or pull requests

2 participants