React-native-slider: Implement thumbImage for Android

Created on 6 Sep 2019  路  6Comments  路  Source: callstack/react-native-slider

Describe the Feature


The thumbImage should work on both platforms, ideally by not changing the current API.

Possible Implementations


I tried to supply a ReadableArray as a prop, but failed to do so (require('assetsource') returns a double - how can one get the image data from that?).

Related Issues

feature request

Most helpful comment

All 6 comments

Is there another library that can do this?

Edit: react-native-multi-slider seems to offer more options, flexibility and styling options (crossplatform).

Yes, but it is using deprecated React lifecycle functions (componentWillReceiveProps). It would also be nice to have the thumb image support in the official React Native slider package, to not be dependent on another package.

Yes it uses some deprecated functions, and yet it seems that it is a superior library due to it's greatly enhanced control over the component.

@akrger thanks for your contribution. Merged the pr and released new lib version

@wojteg1337 Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Vednus picture Vednus  路  9Comments

cpojer picture cpojer  路  6Comments

javadi69 picture javadi69  路  4Comments

msqar picture msqar  路  4Comments

kimsean picture kimsean  路  9Comments