Skip to content

Commit

Permalink
refactor : User, Dog 경로 변경 #7
Browse files Browse the repository at this point in the history
  • Loading branch information
SeonHwan-Kim committed May 6, 2023
1 parent 554eeff commit 5f1783e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import org.android.go.sopt.data.Dog
import org.android.go.sopt.data.local.Dog
import org.android.go.sopt.databinding.ItemDogBinding

class DogAdapter(context: Context) : ListAdapter<Dog, DogAdapter.DogViewHolder>(DogDiffCallback()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package org.android.go.sopt.presentation.main.home

import androidx.lifecycle.ViewModel
import org.android.go.sopt.R
import org.android.go.sopt.data.Dog
import org.android.go.sopt.data.local.Dog

class HomeViewModel: ViewModel() {
val mockDogList = listOf<Dog>(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package org.android.go.sopt.util

import android.annotation.SuppressLint
import android.content.Context
import android.content.SharedPreferences
import androidx.core.content.edit
import org.android.go.sopt.data.User
import org.android.go.sopt.data.local.User

class UserSharedPreferences(context: Context) {
private val prefs: SharedPreferences = context.getSharedPreferences(KEY_PREFS, 0)
Expand Down

0 comments on commit 5f1783e

Please sign in to comment.