There is an interface that must be implemented in the project, but it has an Image object belonging to javafx . How can I convert this object to ImageView or any other project that could be used in a project? Or, if this is not possible, how can I use this object in code to get an image? And also what dependencies need to be added to .gradle in order for javafx work on android ?
import javafx.scene.image.Image; public interface User { String getUserName(); int getUId(); Image getIcon(); }