{"published":"2019-01-31 20:12:35","blog_url":"https://androhi.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fandrohi.hatenablog.com%2Fentry%2F2019%2F01%2F31%2F201235\" title=\"AndroidX\u3067\u306e\u30d0\u30c3\u30af\u30ad\u30fc\u5236\u5fa1 - EDIT MODE\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"androhi","url":"https://androhi.hatenablog.com/entry/2019/01/31/201235","version":"1.0","title":"AndroidX\u3067\u306e\u30d0\u30c3\u30af\u30ad\u30fc\u5236\u5fa1","author_url":"https://blog.hatena.ne.jp/androhi/","height":"190","blog_title":"EDIT MODE","categories":["Android","AAC","ArchitectureComponents"],"image_url":null,"description":"AndroidX\u4ee5\u524d \u4eca\u307e\u3067\u30d0\u30c3\u30af\u30ad\u30fc\u306e\u5236\u5fa1\u3068\u8a00\u3048\u3070\u3001\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306b Activity#onBackPressed() \u3067\u30b4\u30cb\u30e7\u30b4\u30cb\u30e7\u3057\u3066\u3044\u307e\u3057\u305f\u3002 override fun onBackPressed() { // \u30d0\u30c3\u30af\u30ad\u30fc\u30a4\u30d9\u30f3\u30c8\u3067Fragment\u3067\u4f55\u304b\u3057\u305f\u3044\u3068\u304d val fragment = supportFragmentManager.findFragmentByTag(\"HogeFragment\") fragment?.something() // \u30b9\u30bf\u30c3\u30af\u306b\u7a4d\u3093\u3060Fragment\u30921\u500b\u524d\u306b\u623b\u3057\u305f\u3044\u3068\u304d if (supportFragmentManager.backStackE\u2026","provider_url":"https://hatena.blog","width":"100%","type":"rich","provider_name":"Hatena Blog"}