It should be possible to define a custom driver and then be able to tell which position it should take within the social menu.
Map<String, CustomDriverOptions> myCustomDrivers = new HashMap<>();
CustomDriverOptions myCustomDriverOptions1 = new CustomDriverOptions();
...
CustomDriverOptions myCustomDriverOptions2 = new CustomDriverOptions();
...
myCustomDrivers.put("Social A", myCustomDriverOptions1);
myCustomDrivers.put("Social B", myCustomDriverOptions2);
// add drivers
NormalShareEasy.create().withDrivers(new String[] { myCustomDriverOptions1.getName(), Driver.FACEBOOK.getName(), myCustomDriverOptions2.getName(), Driver.LINKEDIN.getName()}).withCustomDrivers(myCustomDrivers ).forComponent(myComponent);
It should be possible to define a custom driver and then be able to tell which position it should take within the social menu.
This could be possible if withDrivers method param https://github.com/FlowingCode/ShareEasy/blob/74c689f88af0972c5063c494b5f83b2dfd65ba55/src/main/java/com/flowingcode/vaadin/addons/shareeasy/BaseShareEasy.java#L116C5-L116C16 is replaced with a list of drivers names instead of an enum of drivers, then, a custom driver will be added to the list of drivers to use like: