Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法从 Python 实现 Java 接口,例如这个OnPreparedListener 接口?
我试过 Pyjinius 但没有成功。
查了一些文档,发现Pyjinius也可以实现Java接口。
如果您想这样做,请参阅此文档: https ://github.com/kivy/pyjnius/blob/98596b37be14b7e0342342c1eaaae740574ba040/docs/source/api.rst