F
Спасибо за подсказку. Подзабыл про SOLID
Size: a a a
F
AM
AM
n
AM
F
AM
F
AN
F
n
AM
F
AN
AN
F
interface DataProvider<T> {
fun getData(file: T): String
}
class NetHelper:DataProvider<String> {
override fun getData(link: String): String {}
}
AN
interface DataProvider<T> {
fun getData(file: T): String
}
class NetHelper:DataProvider<String> {
override fun getData(link: String): String {}
}
AM
F
AN