https://kotlinlang.org logo
#android
Title
# android
k

Kareem Waleed

07/25/2022, 6:48 AM
Hi! I’m developing an Android library that would be a container for some common code to be used. The problem is, I’m not able to use the extension functions defined in the library by a consumer app. The library is of course published and obfuscated, so I’ve tried to keep the file holding these top-level extensions in
proguard
Copy code
-keep public class com.example.library.ExtensionsKt{*;}
but this only made using the function
ExtensionsKt.doSomething()
possible but not
Model.doSomething()
Any ideas ?
2 Views