GEEKCAMP-Vol12 / GEEKCAMP_Vol.12

0 stars 0 forks source link

バックエンドとの通信リポジトリを作成する #19

Open SEKI-YUTA opened 1 month ago

SEKI-YUTA commented 1 month ago

commonMainモジュールに作っておいてください。 リポジトリのクラスをいきなり書くのではなくてinterfaceで抽象化しておいて欲しい。

interface HogeApiRepository {
    fun getUserName(): String
}

class HogeApiRepositoryImpl: HogeApiRepository {
    override fun getUserName(): String {
    // 何かしらの処理
    }
}
github-actions[bot] commented 1 month ago

This issue's work branch is "HealthApp-19". branch name:

HealthApp-19

To checkout this branch, run the following command:

git checkout -b HealthApp-19