SpannedGridLayoutManager
SpannedGridLayoutManager copied to clipboard
Glide preloader exception
@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.
@Arasthel No reply for over 6 months.
Sorry, but it seems like this is a Glide limitation.
There are 2 solutions to this issue:
- 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.
- 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.