Steven Schoen

Results 56 comments of Steven Schoen

Currently working on this!

Appreciate the quick response! I'm not using `MyModel` anywhere, I created it to try to boil down a model in a large project to just the part that was causing...

That's really weird. I wish I could help more, no idea why that would be happening. I'm sure there's some arcane historic JVM-related reason. Adding a cast should be a...

If it matters, in our codebase it's closer to `public class MyModel`.

There are no subclasses, not totally sure if I'm following your examples, but essentially the generic type is an interface with an ID property, and we want those IDs in...

That might work, but I'm still not sure why the code generated for the original case is bad.

No chance of the cast being reinstated?

Gotcha. That's what I'm currently doing, and so far I haven't needed to extend the container. A ViewHolder factory would solve my issue,

`Object` item IDs would be a wonderful solution, as then they'd have basically infinite levels of scope. But yeah, no idea how they could be mapped to `long`s effectively. Another...

I'm assuming this is to make it easy and logical to add decorations to only certain parts of the whole list. For example, if the list is comprised of adapter...