SpannedGridLayoutManager icon indicating copy to clipboard operation
SpannedGridLayoutManager copied to clipboard

Glide preloader exception

Open d3bt3ch opened this issue 6 years ago • 2 comments

@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 avatar Mar 04 '18 14:03 d3bt3ch

@Arasthel No reply for over 6 months.

d3bt3ch avatar Sep 14 '18 10:09 d3bt3ch

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.

jmartinesp avatar Oct 07 '18 08:10 jmartinesp