material-motion-android icon indicating copy to clipboard operation
material-motion-android copied to clipboard

Rename MaterialSpring to Spring

Open jverkoey opened this issue 7 years ago • 2 comments

jverkoey avatar Mar 29 '17 21:03 jverkoey

The reason this was named MaterialSpring is because Rebound's library already defines a Spring class. If I rename this to Spring, devs' IDEs will ask them to disambiguate. This is not a big deal, except if devs use both material-motion's Spring and rebound's Spring. In that case, they will be forced to use the full package prefix when referring to one of them (dev's choice which one).

pingpongboss avatar Apr 02 '17 01:04 pingpongboss

Discussed in sprint planning: it's not super likely that people will be using Rebound and Material Motion's spring in the same file, especially if we drop the Rebound dependency.

jverkoey avatar Apr 12 '17 21:04 jverkoey