Lilly
03/24/2021, 12:12 PMsealed class Foo {
abstract fun bar()
}
class A : Foo()
class B : Foo()
/* in another file */
fun A.bar() {
// implementation
}
It seems it's not possible but maybe there is something similar? I just want to move the implementation of bar()
to other files because the LOC for the implementation is huge. I want to avoid a file with thousands of LOC. Any ideas?mkrussel
03/24/2021, 12:27 PMLilly
03/24/2021, 12:27 PMmkrussel
03/24/2021, 12:28 PMLilly
03/24/2021, 12:39 PMstephanmg
03/24/2021, 1:50 PM