{"id":30539,"date":"2024-10-28T03:51:05","date_gmt":"2024-10-28T03:51:05","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=30539"},"modified":"2024-11-26T06:48:16","modified_gmt":"2024-11-26T06:48:16","slug":"%ec%bd%94%ed%8b%80%eb%a6%b0-%ec%95%88%eb%93%9c%eb%a1%9c%ec%9d%b4%eb%93%9c-%ec%95%b1%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c-%ed%83%9c%ec%8a%a4%ed%81%ac-%ea%b4%80%eb%a6%ac","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/30539\/","title":{"rendered":"\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \ud0dc\uc2a4\ud06c \uad00\ub9ac"},"content":{"rendered":"<p><body><\/p>\n<article>\n<p>\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88\uc5d0\ub294 \ucf54\ud2c0\ub9b0\uc744 \uc0ac\uc6a9\ud55c \uc548\ub4dc\ub85c\uc774\ub4dc \uc571 \uac1c\ubc1c \uac15\uc88c \uc2dc\ub9ac\uc988\uc758 \uc77c\ud658\uc73c\ub85c, \ud0dc\uc2a4\ud06c \uad00\ub9ac \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ud574\ub2f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc0ac\uc6a9\uc790\uc5d0\uac8c \ud560 \uc77c \ubaa9\ub85d\uc744 \uad00\ub9ac\ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc744 \uc81c\uacf5\ud558\uba70, \uae30\ubcf8\uc801\uc778 CRUD(Create, Read, Update, Delete) \uc791\uc5c5\uc744 \ud559\uc2b5\ud558\ub294 \ub370 \ub3c4\uc6c0\uc774 \ub420 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<h2>1. \ud504\ub85c\uc81d\ud2b8 \uc124\uc815<\/h2>\n<p>\uba3c\uc800 \uc0c8\ub85c\uc6b4 \uc548\ub4dc\ub85c\uc774\ub4dc \ud504\ub85c\uc81d\ud2b8\ub97c \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. Android Studio\ub97c \uc5f4\uace0 \ub2e4\uc74c \ub2e8\uacc4\ub97c \ub530\ub985\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>New Project<\/strong>\ub97c \ud074\ub9ad\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>Empty Activity<!--<\/strong-->\uc744 \uc120\ud0dd\ud558\uace0 <strong>Next<\/strong>\ub97c \ud074\ub9ad\ud569\ub2c8\ub2e4.<\/strong><\/li>\n<li>Project Name\uc5d0 &#8216;TaskManager&#8217;\ub97c \uc785\ub825\ud558\uace0 <strong>Language<\/strong>\ub97c <strong>Kotlin<\/strong>\uc73c\ub85c \uc124\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li>\ub9c8\uc9c0\ub9c9\uc73c\ub85c <strong>Finish<\/strong>\ub97c \ud074\ub9ad\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>2. \ub370\uc774\ud130 \ubaa8\ub378 \uc815\uc758<\/h2>\n<p>\ud0dc\uc2a4\ud06c\ub97c \ub098\ud0c0\ub0b4\ub294 \ub370\uc774\ud130 \ubaa8\ub378\uc778 <code>Task<\/code> \ud074\ub798\uc2a4\ub97c \uc815\uc758\ud569\ub2c8\ub2e4. \uc774 \ud074\ub798\uc2a4\ub294 \ud0dc\uc2a4\ud06c\uc758 \uc81c\ubaa9, \uc124\uba85 \ubc0f \uc644\ub8cc \uc5ec\ubd80\ub97c \uc18d\uc131\uc73c\ub85c \uac00\uc9d1\ub2c8\ub2e4:<\/p>\n<pre><code>data class Task(\n    var id: Long = 0,\n    var title: String,\n    var description: String,\n    var isCompleted: Boolean = false\n)<\/code><\/pre>\n<h2>3. \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4 \uc124\uacc4<\/h2>\n<p>\ud0dc\uc2a4\ud06c \uad00\ub9ac \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uae30\ubcf8 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc694\uc18c\ub85c \uad6c\uc131\ub429\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\ud0dc\uc2a4\ud06c \ubaa9\ub85d\uc744 \ubcf4\uc5ec\uc8fc\ub294 RecyclerView<\/li>\n<li>\uc0c8 \ud0dc\uc2a4\ud06c\ub97c \ucd94\uac00\ud558\ub294 \ubc84\ud2bc<\/li>\n<li>\ud0dc\uc2a4\ud06c \ud3b8\uc9d1 \ubc0f \uc0ad\uc81c \uc635\uc158<\/li>\n<\/ul>\n<p>\uba3c\uc800 <code>activity_main.xml<\/code> \ud30c\uc77c\uc744 \uc218\uc815\ud558\uc5ec \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\uc131\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>&lt;LinearLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:orientation=\"vertical\"&gt;\n\n    &lt;Button\n        android:id=\"@+id\/btn_add_task\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:text=\"\uc0c8 \ud0dc\uc2a4\ud06c \ucd94\uac00\"\/&gt;\n\n    &lt;androidx.recyclerview.widget.RecyclerView\n        android:id=\"@+id\/recycler_view\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"0dp\"\n        android:layout_weight=\"1\"\/&gt;\n\n&lt;\/LinearLayout&gt;<\/code><\/pre>\n<h2>4. RecyclerView \uc124\uc815<\/h2>\n<p>RecyclerView\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud0dc\uc2a4\ud06c \ubaa9\ub85d\uc744 \ud45c\uc2dc\ud569\ub2c8\ub2e4. \ub2e4\uc74c\uc73c\ub85c <code>TaskAdapter<\/code> \ud074\ub798\uc2a4\ub97c \ub9cc\ub4e4\uc5b4\uc11c \ud0dc\uc2a4\ud06c \ud56d\ubaa9\ub4e4\uc744 \ub9ac\uc2a4\ud2b8\ud615\ud0dc\ub85c \ubcf4\uc5ec\uc8fc\ub3c4\ub85d \uc124\uc815\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>class TaskAdapter(private val tasks: List<task>) : RecyclerView.Adapter<taskadapter.taskviewholder>() {\n\n    inner class TaskViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {\n        val taskTitle: TextView = itemView.findViewById(R.id.task_title)\n        val taskDescription: TextView = itemView.findViewById(R.id.task_description)\n        val taskStatus: CheckBox = itemView.findViewById(R.id.task_status)\n    }\n\n    override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): TaskViewHolder {\n        val view = LayoutInflater.from(parent.context).inflate(R.layout.task_item, parent, false)\n        return TaskViewHolder(view)\n    }\n\n    override fun onBindViewHolder(holder: TaskViewHolder, position: Int) {\n        val task = tasks[position]\n        holder.taskTitle.text = task.title\n        holder.taskDescription.text = task.description\n        holder.taskStatus.isChecked = task.isCompleted\n\n        holder.taskStatus.setOnCheckedChangeListener { _, isChecked -&gt;\n            task.isCompleted = isChecked\n        }\n    }\n\n    override fun getItemCount(): Int {\n        return tasks.size\n    }\n}<\/taskadapter.taskviewholder><\/task><\/code><\/pre>\n<h3>4.1. task_item.xml \ub808\uc774\uc544\uc6c3 \ub9cc\ub4e4\uae30<\/h3>\n<p>RecyclerView\uc758 \uac01 \ud56d\ubaa9\uc744 \uc704\ud574 <code>task_item.xml<\/code> \ud30c\uc77c\uc744 \uc544\ub798\uc640 \uac19\uc774 \uc0dd\uc131\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>&lt;LinearLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    android:orientation=\"vertical\"&gt;\n\n    &lt;TextView\n        android:id=\"@+id\/task_title\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:textSize=\"18sp\"\/&gt;\n\n    &lt;TextView\n        android:id=\"@+id\/task_description\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:textSize=\"14sp\"\/&gt;\n\n    &lt;CheckBox\n        android:id=\"@+id\/task_status\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\/&gt;\n\n&lt;\/LinearLayout&gt;<\/code><\/pre>\n<h2>5. Task \ucd94\uac00 \ubc0f \uc0ad\uc81c \uae30\ub2a5 \uad6c\ud604<\/h2>\n<p>\uc0c8\ub85c\uc6b4 \ud0dc\uc2a4\ud06c\ub97c \ucd94\uac00\ud558\uace0 \uae30\uc874 \ud0dc\uc2a4\ud06c\ub97c \uc0ad\uc81c\ud558\ub294 \uae30\ub2a5\uc744 \uad6c\ud604\ud569\ub2c8\ub2e4. <code>MainActivity<\/code>\uc5d0\uc11c \ub2e4\uc74c\uacfc \uac19\uc774 \ucf54\ub4dc\ub97c \ucd94\uac00\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>class MainActivity : AppCompatActivity() {\n\n    private val taskList = mutableListOf<task>()\n    private lateinit var taskAdapter: TaskAdapter\n\n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n        setContentView(R.layout.activity_main)\n\n        taskAdapter = TaskAdapter(taskList)\n        findViewById<recyclerview>(R.id.recycler_view).apply {\n            layoutManager = LinearLayoutManager(this@MainActivity)\n            adapter = taskAdapter\n        }\n\n        findViewById<button>(R.id.btn_add_task).setOnClickListener {\n            showAddTaskDialog()\n        }\n    }\n\n    private fun showAddTaskDialog() {\n        val dialogView = LayoutInflater.from(this).inflate(R.layout.dialog_add_task, null)\n        val taskTitleInput = dialogView.findViewById<edittext>(R.id.task_title_input)\n        val taskDescriptionInput = dialogView.findViewById<edittext>(R.id.task_description_input)\n\n        AlertDialog.Builder(this)\n            .setTitle(\"\uc0c8 \ud0dc\uc2a4\ud06c \ucd94\uac00\")\n            .setView(dialogView)\n            .setPositiveButton(\"\ucd94\uac00\") { _, _ -&gt;\n                val title = taskTitleInput.text.toString()\n                val description = taskDescriptionInput.text.toString()\n                val task = Task(title = title, description = description)\n                taskList.add(task)\n                taskAdapter.notifyItemInserted(taskList.size - 1)\n            }\n            .setNegativeButton(\"\ucde8\uc18c\", null)\n            .show()\n    }\n}<\/edittext><\/edittext><\/button><\/recyclerview><\/task><\/code><\/pre>\n<h3>5.1. \ud0dc\uc2a4\ud06c \ucd94\uac00 \ub2e4\uc774\uc5bc\ub85c\uadf8 \ub808\uc774\uc544\uc6c3 \ub9cc\ub4e4\uae30<\/h3>\n<p><code>dialog_add_task.xml<\/code> \ud30c\uc77c\uc744 \uc0dd\uc131\ud558\uace0 \ub2e4\uc74c\uacfc \uac19\uc774 \ub0b4\uc6a9\uc744 \uc791\uc131\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>&lt;LinearLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    android:orientation=\"vertical\"&gt;\n\n    &lt;EditText\n        android:id=\"@+id\/task_title_input\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:hint=\"\ud0dc\uc2a4\ud06c \uc81c\ubaa9\"\/&gt;\n\n    &lt;EditText\n        android:id=\"@+id\/task_description_input\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:hint=\"\ud0dc\uc2a4\ud06c \uc124\uba85\"\/&gt;\n\n&lt;\/LinearLayout&gt;<\/code><\/pre>\n<h2>6. \ub370\uc774\ud130 \uc800\uc7a5 \uad00\ub9ac<\/h2>\n<p>\uc571\uc744 \uc7ac\uc2dc\uc791\ud55c \ud6c4\uc5d0\ub3c4 \ud0dc\uc2a4\ud06c \ubaa9\ub85d\uc744 \uc720\uc9c0\ud558\uae30 \uc704\ud574 Room \ub370\uc774\ud130\ubca0\uc774\uc2a4\ub97c \ud65c\uc6a9\ud558\uaca0\uc2b5\ub2c8\ub2e4. Room\uc744 \uc0ac\uc6a9\ud558\uba74 SQLite \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0 \uac1d\uccb4\ub97c \uc27d\uac8c \uc800\uc7a5\ud558\uace0 \uad00\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uacfc\uc815\uc744 \uc704\ud55c \uc138\ud305\uc744 \uc9c4\ud589\ud558\uaca0\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>Gradle \ud30c\uc77c\uc5d0 Room \uc885\uc18d\uc131\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4:<\/li>\n<\/ul>\n<pre><code>dependencies {\n    implementation \"androidx.room:room-runtime:2.4.1\"\n    kapt \"androidx.room:room-compiler:2.4.1\"\n}<\/code><\/pre>\n<h3>6.1. Room \uc5d4\ud2f0\ud2f0 \uc815\uc758<\/h3>\n<p>\uc0c8\ub85c\uc6b4 <code>TaskEntity<\/code> \ud074\ub798\uc2a4\ub97c \uc0ac\uc6a9\ud558\uc5ec Room \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc758 \uc5d4\ud2f0\ud2f0\ub97c \uc815\uc758\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>@Entity(tableName = \"tasks\")\ndata class TaskEntity(\n    @PrimaryKey(autoGenerate = true) val id: Long = 0,\n    val title: String,\n    val description: String,\n    val isCompleted: Boolean = false\n)<\/code><\/pre>\n<h3>6.2. DAO \uc778\ud130\ud398\uc774\uc2a4 \uc815\uc758<\/h3>\n<p>Room \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc640 \uc0c1\ud638\uc791\uc6a9\ud558\uae30 \uc704\ud574 DAO(Data Access Object) \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc815\uc758\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>@Dao\ninterface TaskDao {\n    @Insert\n    suspend fun insert(task: TaskEntity)\n\n    @Query(\"SELECT * FROM tasks\")\n    suspend fun getAllTasks(): List<taskentity>\n\n    @Delete\n    suspend fun delete(task: TaskEntity)\n}<\/taskentity><\/code><\/pre>\n<h3>6.3. \ub370\uc774\ud130\ubca0\uc774\uc2a4 \ud074\ub798\uc2a4 \uc815\uc758<\/h3>\n<p>Room \ub370\uc774\ud130\ubca0\uc774\uc2a4\ub97c \uc0c1\uc18d\ubc1b\uc740 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \ud074\ub798\uc2a4\ub97c \uc815\uc758\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>@Database(entities = [TaskEntity::class], version = 1)\nabstract class AppDatabase : RoomDatabase() {\n    abstract fun taskDao(): TaskDao\n}<\/code><\/pre>\n<h3>6.4. \ub370\uc774\ud130\ubca0\uc774\uc2a4 \ucd08\uae30\ud654<\/h3>\n<p>\uba54\uc778 \uc561\ud2f0\ube44\ud2f0\uc5d0\uc11c \ub370\uc774\ud130\ubca0\uc774\uc2a4\ub97c \ucd08\uae30\ud654\ud558\uace0 \ud0dc\uc2a4\ud06c\ub97c \ub85c\ub4dc\ud558\ub294 \ub85c\uc9c1\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>private lateinit var db: AppDatabase\n\noverride fun onCreate(savedInstanceState: Bundle?) {\n    super.onCreate(savedInstanceState)\n    setContentView(R.layout.activity_main)\n\n    db = Room.databaseBuilder(applicationContext, AppDatabase::class.java, \"task-database\").build()\n\n    \/\/ \ud0dc\uc2a4\ud06c \ub85c\ub4dc\n    loadTasks()\n}\n\nprivate fun loadTasks() {\n    CoroutineScope(Dispatchers.IO).launch {\n        val tasks = db.taskDao().getAllTasks()\n        taskList.clear()\n        taskList.addAll(tasks.map { Task(it.id, it.title, it.description, it.isCompleted) })\n        runOnUiThread { taskAdapter.notifyDataSetChanged() }\n    }\n}<\/code><\/pre>\n<h2>7. \ud0dc\uc2a4\ud06c \uc0ad\uc81c \uae30\ub2a5 \uad6c\ud604<\/h2>\n<p>\uc0ac\uc6a9\uc790\uac00 \ud0dc\uc2a4\ud06c\ub97c \uc0ad\uc81c\ud560 \uc218 \uc788\ub3c4\ub85d \uae30\ub2a5\uc744 \uad6c\ud604\ud569\ub2c8\ub2e4. \uc544\ub798 \ucf54\ub4dc\ub97c \ucd94\uac00\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>override fun onBindViewHolder(holder: TaskViewHolder, position: Int) {\n    \/\/ \uae30\uc874 \ucf54\ub4dc \uc720\uc9c0\n\n    holder.itemView.setOnLongClickListener {\n        deleteTask(task)\n        true\n    }\n}\n\nprivate fun deleteTask(task: Task) {\n    CoroutineScope(Dispatchers.IO).launch {\n        db.taskDao().delete(TaskEntity(task.id, task.title, task.description, task.isCompleted))\n        runOnUiThread {\n            taskList.remove(task)\n            taskAdapter.notifyDataSetChanged()\n        }\n    }\n}<\/code><\/pre>\n<h2>8. \ub9c8\ubb34\ub9ac \ubc0f \ucd94\uac00 \uac1c\uc120 \uc0ac\ud56d<\/h2>\n<p>\uc774\ub85c\uc368 \ub2f9\uc2e0\uc758 \ud0dc\uc2a4\ud06c \uad00\ub9ac \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uae30\ubcf8 \uad6c\uc870\uc640 \uae30\ub2a5\uc774 \uc644\uc131\ub418\uc5c8\uc2b5\ub2c8\ub2e4! \uc774 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc0ac\uc6a9\uc790\uac00 \ud0dc\uc2a4\ud06c \ubaa9\ub85d\uc744 \ucd94\uac00\ud558\uace0, \ud3b8\uc9d1\ud558\uace0, \uc0ad\uc81c\ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc55e\uc73c\ub85c\uc758 \uacc4\ud68d\uc744 \ud3ec\ud568\ud558\uc5ec \uba87 \uac00\uc9c0 \ucd94\uac00 \uac1c\uc120 \uc0ac\ud56d\uc744 \uace0\ub824\ud574\ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\ud0dc\uc2a4\ud06c \uc644\ub8cc \uc2dc\uc810\uc758 \ub0a0\uc9dc\ub97c \ud45c\uc2dc\ud558\ub294 \uae30\ub2a5 \ucd94\uac00<\/li>\n<li>\ud0dc\uc2a4\ud06c \uc6b0\uc120\uc21c\uc704\ub97c \uc124\uc815\ud560 \uc218 \uc788\ub294 \uae30\ub2a5 \ucd94\uac00<\/li>\n<li>\ud0dc\uc2a4\ud06c \uac80\uc0c9 \ubc0f \ud544\ud130 \uae30\ub2a5 \ucd94\uac00<\/li>\n<li>UI\/UX \ud5a5\uc0c1\uc744 \uc704\ud55c \ub514\uc790\uc778 \uac1c\uc120<\/li>\n<\/ul>\n<p>\ucf54\ud2c0\ub9b0\uacfc \uc548\ub4dc\ub85c\uc774\ub4dc \uc2a4\ud29c\ub514\uc624\ub97c \ud65c\uc6a9\ud558\uc5ec \ub2f9\uc2e0\ub9cc\uc758 \ud0dc\uc2a4\ud06c \uad00\ub9ac \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uc5b4 \ubcf4\ub294 \uac83\uc740 \ud6cc\ub96d\ud55c \ud559\uc2b5 \uacbd\ud5d8\uc774 \ub420 \uac83\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uac00 \ub3c4\uc6c0\uc774 \ub418\uc5c8\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4. \uc9c8\ubb38\uc774\ub098 \ucd94\uac00\uc801\uc778 \ub0b4\uc6a9\uc774 \ud544\uc694\ud558\ub2e4\uba74 \ub313\uae00\ub85c \ub0a8\uaca8\uc8fc\uc138\uc694!<\/p>\n<\/article>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88\uc5d0\ub294 \ucf54\ud2c0\ub9b0\uc744 \uc0ac\uc6a9\ud55c \uc548\ub4dc\ub85c\uc774\ub4dc \uc571 \uac1c\ubc1c \uac15\uc88c \uc2dc\ub9ac\uc988\uc758 \uc77c\ud658\uc73c\ub85c, \ud0dc\uc2a4\ud06c \uad00\ub9ac \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ud574\ub2f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc0ac\uc6a9\uc790\uc5d0\uac8c \ud560 \uc77c \ubaa9\ub85d\uc744 \uad00\ub9ac\ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc744 \uc81c\uacf5\ud558\uba70, \uae30\ubcf8\uc801\uc778 CRUD(Create, Read, Update, Delete) \uc791\uc5c5\uc744 \ud559\uc2b5\ud558\ub294 \ub370 \ub3c4\uc6c0\uc774 \ub420 \uac83\uc785\ub2c8\ub2e4. 1. \ud504\ub85c\uc81d\ud2b8 \uc124\uc815 \uba3c\uc800 \uc0c8\ub85c\uc6b4 \uc548\ub4dc\ub85c\uc774\ub4dc \ud504\ub85c\uc81d\ud2b8\ub97c \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. Android Studio\ub97c \uc5f4\uace0 \ub2e4\uc74c \ub2e8\uacc4\ub97c \ub530\ub985\ub2c8\ub2e4: New Project\ub97c \ud074\ub9ad\ud569\ub2c8\ub2e4. &hellip; <a href=\"https:\/\/atmokpo.com\/w\/30539\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \ud0dc\uc2a4\ud06c \uad00\ub9ac&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[35],"tags":[],"class_list":["post-30539","post","type-post","status-publish","format-standard","hentry","category-35"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \ud0dc\uc2a4\ud06c \uad00\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/30539\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \ud0dc\uc2a4\ud06c \uad00\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88\uc5d0\ub294 \ucf54\ud2c0\ub9b0\uc744 \uc0ac\uc6a9\ud55c \uc548\ub4dc\ub85c\uc774\ub4dc \uc571 \uac1c\ubc1c \uac15\uc88c \uc2dc\ub9ac\uc988\uc758 \uc77c\ud658\uc73c\ub85c, \ud0dc\uc2a4\ud06c \uad00\ub9ac \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ud574\ub2f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc0ac\uc6a9\uc790\uc5d0\uac8c \ud560 \uc77c \ubaa9\ub85d\uc744 \uad00\ub9ac\ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc744 \uc81c\uacf5\ud558\uba70, \uae30\ubcf8\uc801\uc778 CRUD(Create, Read, Update, Delete) \uc791\uc5c5\uc744 \ud559\uc2b5\ud558\ub294 \ub370 \ub3c4\uc6c0\uc774 \ub420 \uac83\uc785\ub2c8\ub2e4. 1. \ud504\ub85c\uc81d\ud2b8 \uc124\uc815 \uba3c\uc800 \uc0c8\ub85c\uc6b4 \uc548\ub4dc\ub85c\uc774\ub4dc \ud504\ub85c\uc81d\ud2b8\ub97c \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. Android Studio\ub97c \uc5f4\uace0 \ub2e4\uc74c \ub2e8\uacc4\ub97c \ub530\ub985\ub2c8\ub2e4: New Project\ub97c \ud074\ub9ad\ud569\ub2c8\ub2e4. &hellip; \ub354 \ubcf4\uae30 &quot;\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \ud0dc\uc2a4\ud06c \uad00\ub9ac&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/30539\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-28T03:51:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:48:16+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/30539\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30539\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \ud0dc\uc2a4\ud06c \uad00\ub9ac\",\"datePublished\":\"2024-10-28T03:51:05+00:00\",\"dateModified\":\"2024-11-26T06:48:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30539\/\"},\"wordCount\":42,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc\uc571 \uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/30539\/\",\"url\":\"https:\/\/atmokpo.com\/w\/30539\/\",\"name\":\"\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \ud0dc\uc2a4\ud06c \uad00\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-28T03:51:05+00:00\",\"dateModified\":\"2024-11-26T06:48:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30539\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/30539\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/30539\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \ud0dc\uc2a4\ud06c \uad00\ub9ac\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \ud0dc\uc2a4\ud06c \uad00\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/30539\/","og_locale":"ko_KR","og_type":"article","og_title":"\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \ud0dc\uc2a4\ud06c \uad00\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88\uc5d0\ub294 \ucf54\ud2c0\ub9b0\uc744 \uc0ac\uc6a9\ud55c \uc548\ub4dc\ub85c\uc774\ub4dc \uc571 \uac1c\ubc1c \uac15\uc88c \uc2dc\ub9ac\uc988\uc758 \uc77c\ud658\uc73c\ub85c, \ud0dc\uc2a4\ud06c \uad00\ub9ac \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ud574\ub2f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc0ac\uc6a9\uc790\uc5d0\uac8c \ud560 \uc77c \ubaa9\ub85d\uc744 \uad00\ub9ac\ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc744 \uc81c\uacf5\ud558\uba70, \uae30\ubcf8\uc801\uc778 CRUD(Create, Read, Update, Delete) \uc791\uc5c5\uc744 \ud559\uc2b5\ud558\ub294 \ub370 \ub3c4\uc6c0\uc774 \ub420 \uac83\uc785\ub2c8\ub2e4. 1. \ud504\ub85c\uc81d\ud2b8 \uc124\uc815 \uba3c\uc800 \uc0c8\ub85c\uc6b4 \uc548\ub4dc\ub85c\uc774\ub4dc \ud504\ub85c\uc81d\ud2b8\ub97c \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. Android Studio\ub97c \uc5f4\uace0 \ub2e4\uc74c \ub2e8\uacc4\ub97c \ub530\ub985\ub2c8\ub2e4: New Project\ub97c \ud074\ub9ad\ud569\ub2c8\ub2e4. &hellip; \ub354 \ubcf4\uae30 \"\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \ud0dc\uc2a4\ud06c \uad00\ub9ac\"","og_url":"https:\/\/atmokpo.com\/w\/30539\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-28T03:51:05+00:00","article_modified_time":"2024-11-26T06:48:16+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"3\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/30539\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/30539\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \ud0dc\uc2a4\ud06c \uad00\ub9ac","datePublished":"2024-10-28T03:51:05+00:00","dateModified":"2024-11-26T06:48:16+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/30539\/"},"wordCount":42,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc\uc571 \uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/30539\/","url":"https:\/\/atmokpo.com\/w\/30539\/","name":"\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \ud0dc\uc2a4\ud06c \uad00\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-28T03:51:05+00:00","dateModified":"2024-11-26T06:48:16+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/30539\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/30539\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/30539\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \ud0dc\uc2a4\ud06c \uad00\ub9ac"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/30539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=30539"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/30539\/revisions"}],"predecessor-version":[{"id":30540,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/30539\/revisions\/30540"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=30539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=30539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=30539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}