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.
我有 APIATO 应用程序。并由作曲家安装库(第 3 部分 API 的一些包装器)。我需要重写类以将一些自定义逻辑添加到这些类中。我在哪里可以创建覆盖的类?
有多种方法可以覆盖包
1)扩展类并覆盖函数。
2)实现类。
3)您必须在所需的容器中创建一个文件,并且可以使用相同的方式使用它(与具有覆盖文件路径的包的原始用法相同)。