{"id":37257,"date":"2024-11-01T09:56:07","date_gmt":"2024-11-01T09:56:07","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=37257"},"modified":"2024-11-01T11:35:59","modified_gmt":"2024-11-01T11:35:59","slug":"java-android-app-development-course-fragment-a-view-that-works-like-an-activity","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/37257\/","title":{"rendered":"Java Android App Development Course, Fragment &#8211; A View that Works Like an Activity"},"content":{"rendered":"<p><body><\/p>\n<p>In Android application development, various components are used to build the user interface (UI). Among these, the Fragment plays an important role alongside the Activity. In this course, we will explore the basic concepts, usage, advantages, and example code of fragments in depth, including how to apply fragments in practice.<\/p>\n<h2>1. What is a Fragment?<\/h2>\n<p>A fragment is a module that makes up part of the UI. Fragments, which have several advantages, help to manage complex UIs more easily and have a lighter structure than activities. Fragments can be reused multiple times within an activity and provide the flexibility to be configured differently based on various screen sizes and orientations (portrait\/landscape).<\/p>\n<h2>2. Features of Fragments<\/h2>\n<ul>\n<li><strong>Reusability:<\/strong> The same fragment can be reused in multiple activities, reducing code duplication.<\/li>\n<li><strong>Modularity:<\/strong> Each part of the UI can be modularized into fragments, creating an easily manageable structure.<\/li>\n<li><strong>Dynamic UI:<\/strong> Fragments can be added or removed at runtime, allowing for dynamic management of the UI.<\/li>\n<li><strong>Lifecycle Management:<\/strong> Fragments have their own lifecycle, which helps in easily managing the state of the user interface.<\/li>\n<\/ul>\n<h2>3. Lifecycle of a Fragment<\/h2>\n<p>Fragments manage their lifecycle separately from activities, but they are dependent on the activity&#8217;s lifecycle. Here are the main lifecycle methods of a fragment:<\/p>\n<ul>\n<li><strong>onAttach:<\/strong> Called when the fragment is attached to the activity.<\/li>\n<li><strong>onCreate:<\/strong> Called when the fragment is first created in the lifecycle.<\/li>\n<li><strong>onCreateView:<\/strong> Called to create the UI for the fragment.<\/li>\n<li><strong>onActivityCreated:<\/strong> Called when the activity and fragment initialization is complete.<\/li>\n<li><strong>onStart:<\/strong> Called when the fragment is ready to be displayed on the screen.<\/li>\n<li><strong>onResume:<\/strong> Called when the fragment is ready to interact with the user.<\/li>\n<li><strong>onPause:<\/strong> Called when the interaction with the user is temporarily paused.<\/li>\n<li><strong>onStop:<\/strong> Called when the fragment is no longer visible on the screen.<\/li>\n<li><strong>onDestroyView:<\/strong> Called when the UI of the fragment is removed.<\/li>\n<li><strong>onDetach:<\/strong> Called when the fragment is detached from the activity.<\/li>\n<\/ul>\n<h2>4. Creating a Fragment<\/h2>\n<p>The process of creating a fragment is very simple. First, define the fragment class, then create an XML layout file to set up the UI. Let&#8217;s create a fragment in the example below.<\/p>\n<h3>4.1. Creating a Fragment Class<\/h3>\n<pre><code>\nimport android.os.Bundle;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport androidx.fragment.app.Fragment;\n\npublic class MyFragment extends Fragment {\n    @Override\n    public View onCreateView(LayoutInflater inflater, ViewGroup container,\n                             Bundle savedInstanceState) {\n        \/\/ Inflate the layout for this fragment\n        return inflater.inflate(R.layout.fragment_my, container, false);\n    }\n}\n<\/code><\/pre>\n<h3>4.2. Creating an XML Layout File<\/h3>\n<pre><code>\n&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\n&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;TextView\n        android:id=\"@+id\/textView\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:text=\"Hello from MyFragment!\" \/&gt;\n\n&lt;\/LinearLayout&gt;\n<\/code><\/pre>\n<h2>5. Adding a Fragment to an Activity<\/h2>\n<p>After creating a fragment, you need to add it to the activity. You can add the fragment either dynamically or statically in the XML layout. The example below shows how to add a fragment dynamically.<\/p>\n<h3>5.1. Creating a Space for the Fragment in the Activity Layout<\/h3>\n<pre><code>\n&lt;FrameLayout\n    android:id=\"@+id\/fragment_container\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\" \/\n&gt;\n<\/code><\/pre>\n<h3>5.2. Adding the Fragment in the Activity Class<\/h3>\n<pre><code>\nimport android.os.Bundle;\nimport androidx.appcompat.app.AppCompatActivity;\nimport androidx.fragment.app.FragmentTransaction;\n\npublic class MainActivity extends AppCompatActivity {\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        setContentView(R.layout.activity_main);\n\n        MyFragment myFragment = new MyFragment();\n        FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();\n        transaction.add(R.id.fragment_container, myFragment);\n        transaction.commit();\n    }\n}\n<\/code><\/pre>\n<h2>6. Passing Data Between Fragments<\/h2>\n<p>You can use a Bundle to pass data between fragments. This method allows you to pass data when creating the fragment from the activity. The example below shows how to pass data to a fragment.<\/p>\n<h3>6.1. Passing Data to a Fragment<\/h3>\n<pre><code>\npublic static MyFragment newInstance(String data) {\n    MyFragment fragment = new MyFragment();\n    Bundle args = new Bundle();\n    args.putString(\"key\", data);\n    fragment.setArguments(args);\n    return fragment;\n}\n<\/code><\/pre>\n<h3>6.2. Receiving Data Inside the Fragment<\/h3>\n<pre><code>\n@Override\npublic void onCreate(Bundle savedInstanceState) {\n    super.onCreate(savedInstanceState);\n    if (getArguments() != null) {\n        String data = getArguments().getString(\"key\");\n        \/\/ Use the data to update the UI\n    }\n}\n<\/code><\/pre>\n<h2>7. Managing Fragment Lifecycle<\/h2>\n<p>Managing the lifecycle of a fragment is very important. It&#8217;s necessary to update the UI or fetch data at the right moments. For example, you can run code to fetch data when the user is ready to view the fragment.<\/p>\n<pre><code>\n@Override\npublic void onStart() {\n    super.onStart();\n    \/\/ Fetch data when the fragment is visible on the screen\n    loadData();\n}\n<\/code><\/pre>\n<h2>8. Adding Fragments to the Back Stack<\/h2>\n<p>The back stack feature helps users easily return to a previous fragment while navigating through fragments. You can activate this by using the `addToBackStack()` method when adding a fragment.<\/p>\n<pre><code>\nFragmentTransaction transaction = getSupportFragmentManager().beginTransaction();\ntransaction.add(R.id.fragment_container, myFragment);\ntransaction.addToBackStack(null);\ntransaction.commit();\n<\/code><\/pre>\n<h2>9. Advantages and Disadvantages of Fragments<\/h2>\n<h3>9.1. Advantages<\/h3>\n<ul>\n<li>Improved maintainability with a modular UI.<\/li>\n<li>Dynamic UI can adapt to various screens.<\/li>\n<li>Reusable, reducing code duplication.<\/li>\n<\/ul>\n<h3>9.2. Disadvantages<\/h3>\n<ul>\n<li>Need to manage lifecycle between fragments and activities carefully.<\/li>\n<li>Creating a complex UI structure can make management more difficult.<\/li>\n<\/ul>\n<h2>10. Conclusion<\/h2>\n<p>Fragments are very useful components in Android application development. They focus on modularizing the UI, enhancing reusability, and providing an interesting user experience suitable for various screen sizes. Based on the contents covered in this tutorial, we encourage you to effectively utilize fragments in your Android applications.<\/p>\n<h2>11. References<\/h2>\n<ul>\n<li><a href=\"https:\/\/developer.android.com\/guide\/fragments\">Android Developers: Fragments<\/a><\/li>\n<li><a href=\"https:\/\/developer.android.com\/training\/basics\/fragments\/creating\">Creating a Fragment<\/a><\/li>\n<li><a href=\"https:\/\/developer.android.com\/reference\/android\/app\/Fragment\">Fragment Reference<\/a><\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Android application development, various components are used to build the user interface (UI). Among these, the Fragment plays an important role alongside the Activity. In this course, we will explore the basic concepts, usage, advantages, and example code of fragments in depth, including how to apply fragments in practice. 1. What is a Fragment? &hellip; <a href=\"https:\/\/atmokpo.com\/w\/37257\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Java Android App Development Course, Fragment &#8211; A View that Works Like an Activity&#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":[137],"tags":[],"class_list":["post-37257","post","type-post","status-publish","format-standard","hentry","category-java-android-app-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Java Android App Development Course, Fragment - A View that Works Like an Activity - \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\/37257\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java Android App Development Course, Fragment - A View that Works Like an Activity - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"In Android application development, various components are used to build the user interface (UI). Among these, the Fragment plays an important role alongside the Activity. In this course, we will explore the basic concepts, usage, advantages, and example code of fragments in depth, including how to apply fragments in practice. 1. What is a Fragment? &hellip; \ub354 \ubcf4\uae30 &quot;Java Android App Development Course, Fragment &#8211; A View that Works Like an Activity&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/37257\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T09:56:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T11:35:59+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=\"4\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/37257\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37257\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"Java Android App Development Course, Fragment &#8211; A View that Works Like an Activity\",\"datePublished\":\"2024-11-01T09:56:07+00:00\",\"dateModified\":\"2024-11-01T11:35:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37257\/\"},\"wordCount\":661,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"Java Android app development\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/37257\/\",\"url\":\"https:\/\/atmokpo.com\/w\/37257\/\",\"name\":\"Java Android App Development Course, Fragment - A View that Works Like an Activity - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T09:56:07+00:00\",\"dateModified\":\"2024-11-01T11:35:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37257\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/37257\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/37257\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java Android App Development Course, Fragment &#8211; A View that Works Like an Activity\"}]},{\"@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":"Java Android App Development Course, Fragment - A View that Works Like an Activity - \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\/37257\/","og_locale":"ko_KR","og_type":"article","og_title":"Java Android App Development Course, Fragment - A View that Works Like an Activity - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"In Android application development, various components are used to build the user interface (UI). Among these, the Fragment plays an important role alongside the Activity. In this course, we will explore the basic concepts, usage, advantages, and example code of fragments in depth, including how to apply fragments in practice. 1. What is a Fragment? &hellip; \ub354 \ubcf4\uae30 \"Java Android App Development Course, Fragment &#8211; A View that Works Like an Activity\"","og_url":"https:\/\/atmokpo.com\/w\/37257\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T09:56:07+00:00","article_modified_time":"2024-11-01T11:35:59+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":"4\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/37257\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/37257\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"Java Android App Development Course, Fragment &#8211; A View that Works Like an Activity","datePublished":"2024-11-01T09:56:07+00:00","dateModified":"2024-11-01T11:35:59+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/37257\/"},"wordCount":661,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["Java Android app development"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/37257\/","url":"https:\/\/atmokpo.com\/w\/37257\/","name":"Java Android App Development Course, Fragment - A View that Works Like an Activity - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T09:56:07+00:00","dateModified":"2024-11-01T11:35:59+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/37257\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/37257\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/37257\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"Java Android App Development Course, Fragment &#8211; A View that Works Like an Activity"}]},{"@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\/37257","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=37257"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37257\/revisions"}],"predecessor-version":[{"id":37258,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37257\/revisions\/37258"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=37257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=37257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=37257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}