CINXE.COM
<!doctype html><html lang="en"><head><title data-rh="true">The most insightful stories about Kotlin Beginners - Medium</title><meta data-rh="true" charset="utf-8"/><meta data-rh="true" name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,maximum-scale=1"/><meta data-rh="true" name="theme-color" content="#000000"/><meta data-rh="true" name="twitter:app:name:iphone" content="Medium"/><meta data-rh="true" name="twitter:app:id:iphone" content="828256236"/><meta data-rh="true" property="al:ios:app_name" content="Medium"/><meta data-rh="true" property="al:ios:app_store_id" content="828256236"/><meta data-rh="true" property="al:android:package" content="com.medium.reader"/><meta data-rh="true" property="al:android:app_name" content="Medium"/><meta data-rh="true" property="fb:app_id" content="542599432471018"/><meta data-rh="true" property="og:site_name" content="Medium"/><meta data-rh="true" name="title" content="The most insightful stories about Kotlin Beginners - Medium"/><meta data-rh="true" name="description" content="Read stories about Kotlin Beginners on Medium. Discover smart, unique perspectives on Kotlin Beginners and the topics that matter most to you like Kotlin, Android, Android App Development, Programming, AndroidDev, Java, Kotlin Coroutines, Kotlin Native, and Kotlin Multiplatform."/><meta data-rh="true" name="robots" content="index,follow"/><meta data-rh="true" name="twitter:card" content="summary_large_image"/><meta data-rh="true" name="twitter:site" content="@Medium"/><meta data-rh="true" name="twitter:description" content="Read stories about Kotlin Beginners on Medium. Discover smart, unique perspectives on Kotlin Beginners and the topics that matter most to you like Kotlin, Android, Android App Development, Programming, AndroidDev, Java, Kotlin Coroutines, Kotlin Native, and Kotlin Multiplatform."/><meta data-rh="true" name="twitter:image:src" content="https://miro.medium.com/v2/1*0L5w2b6T1yEVI3_ZYUWONw.png"/><meta data-rh="true" property="og:title" content="The most insightful stories about Kotlin Beginners - Medium"/><meta data-rh="true" property="og:type" content="website"/><meta data-rh="true" property="og:description" content="Read stories about Kotlin Beginners on Medium. Discover smart, unique perspectives on Kotlin Beginners and the topics that matter most to you like Kotlin, Android, Android App Development, Programming, AndroidDev, Java, Kotlin Coroutines, Kotlin Native, and Kotlin Multiplatform."/><meta data-rh="true" property="og:image" content="https://miro.medium.com/v2/1*0L5w2b6T1yEVI3_ZYUWONw.png"/><link data-rh="true" rel="icon" href="https://miro.medium.com/v2/5d8de952517e8160e40ef9841c781cdc14a5db313057fa3c3de41c6f5b494b19"/><link data-rh="true" rel="search" type="application/opensearchdescription+xml" title="Medium" href="/osd.xml"/><link data-rh="true" rel="apple-touch-icon" sizes="152x152" href="https://miro.medium.com/v2/resize:fill:304:304/10fd5c419ac61637245384e7099e131627900034828f4f386bdaa47a74eae156"/><link data-rh="true" rel="apple-touch-icon" sizes="120x120" href="https://miro.medium.com/v2/resize:fill:240:240/10fd5c419ac61637245384e7099e131627900034828f4f386bdaa47a74eae156"/><link data-rh="true" rel="apple-touch-icon" sizes="76x76" href="https://miro.medium.com/v2/resize:fill:152:152/10fd5c419ac61637245384e7099e131627900034828f4f386bdaa47a74eae156"/><link data-rh="true" rel="apple-touch-icon" sizes="60x60" href="https://miro.medium.com/v2/resize:fill:120:120/10fd5c419ac61637245384e7099e131627900034828f4f386bdaa47a74eae156"/><link data-rh="true" rel="mask-icon" href="https://miro.medium.com/v2/resize:fill:1000:1000/7*GAOKVe--MXbEJmV9230oOQ.png" color="#171717"/><link data-rh="true" rel="preconnect" href="https://glyph.medium.com" crossOrigin=""/><link data-rh="true" id="glyph_preload_link" rel="preload" as="style" type="text/css" href="https://glyph.medium.com/css/unbound.css"/><link data-rh="true" id="glyph_link" rel="stylesheet" type="text/css" href="https://glyph.medium.com/css/unbound.css"/><link data-rh="true" rel="canonical" href="https://medium.com/tag/kotlin-beginners"/><style type="text/css" data-fela-rehydration="516" data-fela-type="STATIC">html{box-sizing:border-box;-webkit-text-size-adjust:100%}*, *:before, *:after{box-sizing:inherit}body{margin:0;padding:0;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:rgba(0,0,0,0.8);position:relative;min-height:100vh}h1, h2, h3, h4, h5, h6, dl, dd, ol, ul, menu, figure, blockquote, p, pre, form{margin:0}menu, ol, ul{padding:0;list-style:none;list-style-image:none}main{display:block}a{color:inherit;text-decoration:none}a, button, input{-webkit-tap-highlight-color:transparent}img, svg{vertical-align:middle}button{background:transparent;overflow:visible}button, input, optgroup, select, textarea{margin:0}:root{--reach-tabs:1;--reach-menu-button:1}#speechify-root{font-family:Sohne, sans-serif}div[data-popper-reference-hidden="true"]{visibility:hidden;pointer-events:none}.grecaptcha-badge{visibility:hidden} /*XCode style (c) Angel Garcia <angelgarcia.mail@gmail.com>*/.hljs {background: #fff;color: black; }/* Gray DOCTYPE selectors like WebKit */ .xml .hljs-meta {color: #c0c0c0; }.hljs-comment, .hljs-quote {color: #007400; }.hljs-tag, .hljs-attribute, .hljs-keyword, .hljs-selector-tag, .hljs-literal, .hljs-name {color: #aa0d91; }.hljs-variable, .hljs-template-variable {color: #3F6E74; }.hljs-code, .hljs-string, .hljs-meta .hljs-string {color: #c41a16; }.hljs-regexp, .hljs-link {color: #0E0EFF; }.hljs-title, .hljs-symbol, .hljs-bullet, .hljs-number {color: #1c00cf; }.hljs-section, .hljs-meta {color: #643820; }.hljs-title.class_, .hljs-class .hljs-title, .hljs-type, .hljs-built_in, .hljs-params {color: #5c2699; }.hljs-attr {color: #836C28; }.hljs-subst {color: #000; }.hljs-formula {background-color: #eee;font-style: italic; }.hljs-addition {background-color: #baeeba; }.hljs-deletion {background-color: #ffc8bd; }.hljs-selector-id, .hljs-selector-class {color: #9b703f; }.hljs-doctag, .hljs-strong {font-weight: bold; }.hljs-emphasis {font-style: italic; } </style><style type="text/css" data-fela-rehydration="516" data-fela-type="KEYFRAME">@-webkit-keyframes k1{0%{opacity:0.8}50%{opacity:0.5}100%{opacity:0.8}}@-moz-keyframes k1{0%{opacity:0.8}50%{opacity:0.5}100%{opacity:0.8}}@keyframes k1{0%{opacity:0.8}50%{opacity:0.5}100%{opacity:0.8}}</style><style type="text/css" data-fela-rehydration="516" data-fela-type="RULE">.a{font-family:medium-content-sans-serif-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif}.b{font-weight:400}.c{background-color:rgba(255, 255, 255, 1)}.l{display:block}.m{position:sticky}.n{top:0}.o{z-index:500}.p{padding:0 24px}.q{align-items:center}.r{border-bottom:solid 1px #F2F2F2}.y{height:41px}.z{line-height:20px}.ab{display:flex}.ac{height:57px}.ae{flex:1 0 auto}.af{color:inherit}.ag{fill:inherit}.ah{font-size:inherit}.ai{border:inherit}.aj{font-family:inherit}.ak{letter-spacing:inherit}.al{font-weight:inherit}.am{padding:0}.an{margin:0}.ao{cursor:pointer}.ap:disabled{cursor:not-allowed}.aq:disabled{color:#6B6B6B}.ar:disabled{fill:#6B6B6B}.au{width:auto}.av path{fill:#242424}.aw{height:25px}.ax{margin-left:16px}.ay{border:none}.az{border-radius:20px}.ba{width:240px}.bb{background:#F9F9F9}.bc path{fill:#6B6B6B}.be{outline:none}.bf{font-family:sohne, "Helvetica Neue", Helvetica, Arial, sans-serif}.bg{font-size:14px}.bh{width:100%}.bi{padding:10px 20px 10px 0}.bj{background-color:transparent}.bk{color:#242424}.bl::placeholder{color:#6B6B6B}.bm{display:inline-block}.bn{margin-left:12px}.bo{margin-right:12px}.bp{border-radius:4px}.bq{margin-left:24px}.br{height:24px}.bx{background-color:#F9F9F9}.by{border-radius:50%}.bz{height:32px}.ca{width:32px}.cb{animation:k1 1.2s ease-in-out infinite}.cc{justify-content:center}.ci{max-width:1192px}.cj{min-width:0}.ck{margin-bottom:48px}.cl{margin-top:24px}.cm{overflow:hidden}.cq{border-radius:100px}.cr{margin-right:8px}.cs{height:38px}.ct{width:120px}.cu{flex:0 0 auto}.cv{background-color:#F2F2F2}.db{flex-direction:column}.dc{margin-bottom:16px}.dn{margin-bottom:24px}.do{height:16px}.du{width:80px}.eb{height:1px}.ec{align-items:stretch}.ed{flex-direction:row}.ee{flex-wrap:wrap}.fp{flex-grow:0}.fq{margin-bottom:32px}.fr{height:200px}.fs{width:158px}.ft{margin-bottom:8px}.fu{width:288px}.fv{width:296px}.fw{margin-bottom:56px}.fx{width:224px}.fy{margin-left:8px}.fz{color:#6B6B6B}.ga{font-size:13px}.gb{height:100%}.gt{color:#FFFFFF}.gu{fill:#FFFFFF}.gv{background:#1A8917}.gw{border-color:#1A8917}.ha:disabled{cursor:inherit !important}.hb:disabled{opacity:0.3}.hc:disabled:hover{background:#1A8917}.hd:disabled:hover{border-color:#1A8917}.he{border-radius:99em}.hf{border-width:1px}.hg{border-style:solid}.hh{box-sizing:border-box}.hi{text-decoration:none}.hj{text-align:center}.hm{margin-right:32px}.hn{position:relative}.ho{fill:#6B6B6B}.hr{background:transparent}.hs svg{margin-left:4px}.ht svg{fill:#6B6B6B}.hv{box-shadow:inset 0 0 0 1px rgba(0, 0, 0, 0.05)}.hw{position:absolute}.ig{margin-top:22px}.ih{overflow-x:scroll}.ii{overflow-y:hidden}.ij::-webkit-scrollbar{height:0}.ik::-webkit-scrollbar{width:0}.il::-webkit-scrollbar{background:transparent}.im{scrollbar-width:none}.in{-ms-overflow-style:none}.io::-webkit-scrollbar:horizontal{height:0}.ip{width:24px}.iq{border:1px solid #F2F2F2}.ir{padding:6px}.iz{white-space:nowrap}.ja{transition:background 300ms ease}.jc{padding:8px 16px}.jd{border:1px solid #242424}.je{right:0}.jf{bottom:12px}.jg{padding-left:42px}.jh{pointer-events:none}.ji{opacity:0}.jj{background:linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.75) 25%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 1) 75%)}.jk{height:42px}.jl{margin:2px}.jm svg path{fill:#6B6B6B}.jo{left:0}.jp{padding-right:42px}.jq{background:linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.75) 25%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 1) 75%)}.kj{font-weight:500}.kz{margin:0 8px}.la{color:rgba(255, 255, 255, 1)}.lb{fill:rgba(255, 255, 255, 1)}.lc{background:rgba(25, 25, 25, 1)}.ld{border-color:rgba(25, 25, 25, 1)}.lg:disabled{opacity:0.1}.lh:disabled:hover{background:rgba(25, 25, 25, 1)}.li:disabled:hover{border-color:rgba(25, 25, 25, 1)}.lj{height:0px}.lo{margin:40px 0}.me{margin-top:0px}.mf{box-sizing:content-box}.mg{display:grid}.mh{grid-template-columns:repeat(12, 1fr)}.mi{grid-template-rows:auto 1fr}.mt{grid-area:image}.mu{grid-area:content}.na{border-radius:2px}.nb{aspect-ratio:2}.nc{object-fit:cover}.nd{object-position:50% 50%}.ne{flex-grow:1}.nf a{position:relative}.ng a{z-index:2}.nh button{position:relative}.ni button{z-index:2}.no{height:20px}.np{width:20px}.nr{max-height:20px}.ns{text-overflow:ellipsis}.nt{display:-webkit-box}.nu{-webkit-line-clamp:1}.nv{-webkit-box-orient:vertical}.nw{word-break:break-all}.ny{margin-left:2px}.nz{margin-top:2px}.oa{cursor:initial}.ob{padding-bottom:12px}.oh{word-break:break-word}.oi a{position:static}.oj a::before{content:""}.ok a::before{position:absolute}.ol a::before{z-index:1}.om a::before{top:0}.on a::before{left:0}.oo a::before{bottom:0}.op a::before{right:0}.oq{font-weight:700}.ph{padding-top:8px}.pi{font-size:16px}.pj{max-height:40px}.pk{-webkit-line-clamp:2}.pl{height:48px}.pm{justify-content:space-between}.pn{max-width:200px}.po{opacity:1}.pp{transition:opacity 300ms ease-out}.pq{gap:16px}.pr{justify-content:flex-end}.ps{flex:0 0 0}.pu{padding:12px}.pv{margin-top:32px}.pw{gap:4px}.px{flex:1 1 auto}.py a{display:flex}.pz a{flex-direction:column}.qz{padding-top:12px}.rl{gap:80px 48px}.rm{grid-area:post0}.rn{grid-area:post1}.ro{grid-area:post2}.rp{grid-area:post3}.rq{grid-area:post4}.rr{grid-area:post5}.rs{grid-area:post6}.rt{grid-area:post7}.sf{padding-right:4px}.sg{padding:0 4px}.sm{fill:#242424}.sn{background:0}.so{border-color:#242424}.sq:disabled:hover{color:#242424}.sr:disabled:hover{fill:#242424}.ss:disabled:hover{border-color:#242424}.st{width:min-width}.su{bottom:0}.sv{z-index:800}.sw{background:rgba(255,255,255,0.7)}.as:hover:not(:disabled){color:rgba(25, 25, 25, 1)}.at:hover:not(:disabled){fill:rgba(25, 25, 25, 1)}.gx:hover{background:#156D12}.gy:hover{border-color:#156D12}.gz:hover{cursor:pointer}.hp:hover{color:#242424}.hq:hover{fill:#242424}.hu:hover svg{fill:#242424}.hx:hover{background-color:rgba(0, 0, 0, 0.1)}.jb:hover{background-color:#F2F2F2}.jn:hover svg path{fill:#000000}.le:hover{background:#000000}.lf:hover{border-color:#242424}.nq:hover{text-decoration:underline}.pt:hover{color:#000000}.sp:hover{fill:#000000}.bd:focus-within path{fill:#242424}</style><style type="text/css" data-fela-rehydration="516" data-fela-type="RULE" media="all and (min-width: 1080px)">.d{display:none}.bw{width:64px}.ch{margin:0 24px}.cp{justify-content:center}.da{margin:0 64px}.dl{height:48px}.dm{width:280px}.dt{margin-bottom:76px}.ea{margin-bottom:40px}.es{width:calc(100% + 48px)}.et{margin-left:-24px}.eu{margin-right:-24px}.fl{padding-left:24px}.fm{padding-right:24px}.fn{flex-basis:50%}.fo{max-width:50%}.gk{font-size:14px}.gl{line-height:20px}.gr{font-size:13px}.gs{padding:5px 12px}.hl{display:flex}.if{margin-bottom:46px}.ix{padding-right:16px}.iy{margin-right:24px}.kb{margin-top:16px}.kc{font-size:16px}.kd{line-height:24px}.ki{margin:0 24px 56px}.kw{font-size:42px}.kx{line-height:52px}.ky{letter-spacing:-0.011em}.ln{margin:0 24px 80px}.mb{font-size:24px}.mc{line-height:30px}.md{letter-spacing:-0.016em}.mr{gap:24px 0}.ms{grid-template-areas:"image image image image image image image image image image image image" "content content content content content content content content content content content content"}.mz{display:block}.nn{margin-bottom:16px}.og{flex:1 0 auto}.pd{font-size:20px}.pe{max-height:48px}.pf{-webkit-line-clamp:2}.pg{letter-spacing:0}.qi{max-height:96px}.qj{-webkit-line-clamp:4}.qs{padding-top:2px}.qt{width:100%}.qy{margin-left:24px}.re{margin-top:20px}.rj{grid-template-columns:repeat(6, 1fr)}.rk{grid-template-areas: "post0 post0 post0 post1 post1 post1" "post2 post2 post3 post3 post4 post4" "post5 post5 post6 post6 post7 post7" }.rv{gap:32px 0}.sa{aspect-ratio:1.5}.sc{max-height:60px}.se{aspect-ratio:2}.sl{margin-top:80px}</style><style type="text/css" data-fela-rehydration="516" data-fela-type="RULE" media="all and (max-width: 1079.98px)">.e{display:none}</style><style type="text/css" data-fela-rehydration="516" data-fela-type="RULE" media="all and (max-width: 903.98px)">.f{display:none}</style><style type="text/css" data-fela-rehydration="516" data-fela-type="RULE" media="all and (max-width: 727.98px)">.g{display:none}</style><style type="text/css" data-fela-rehydration="516" data-fela-type="RULE" media="all and (max-width: 551.98px)">.h{display:none}.s{display:flex}.t{justify-content:space-between}.bs{width:24px}.cd{margin:0 0 0 24px}.cw{margin:0 24px}.dd{height:32px}.de{width:200px}.dp{margin-bottom:48px}.dv{margin:0}.ef{width:calc(100% + 24px)}.eg{margin-left:-12px}.eh{margin-right:-12px}.ev{padding-left:12px}.ew{padding-right:12px}.ex{flex-basis:100%}.ey{max-width:100%}.gc{font-size:13px}.gd{line-height:20px}.gm{padding:0px 8px 1px}.hy{margin:0px}.ib{margin-bottom:38px}.is{margin-right:16px}.jr{margin-top:12px}.js{font-size:14px}.ke{margin:0 24px 48px}.kk{font-size:24px}.kl{line-height:30px}.km{letter-spacing:-0.016em}.lk{margin:0 24px 56px}.lp{font-size:20px}.lq{line-height:24px}.lr{letter-spacing:0}.mj{gap:24px 0}.mk{grid-template-areas:"image image image image image image image image image image image image" "content content content content content content content content content content content content"}.mv{display:block}.nj{margin-bottom:16px}.oc{flex:1 0 auto}.or{max-height:48px}.os{-webkit-line-clamp:2}.qa{max-height:96px}.qb{-webkit-line-clamp:4}.qk{padding-top:2px}.ql{width:100%}.qu{margin-left:24px}.ra{margin-top:20px}.rw{aspect-ratio:2}.sh{margin-top:32px}</style><style type="text/css" data-fela-rehydration="516" data-fela-type="RULE" media="all and (min-width: 904px) and (max-width: 1079.98px)">.i{display:none}.bv{width:64px}.cg{margin:0 24px}.co{justify-content:center}.cz{margin:0 64px}.dj{height:48px}.dk{width:280px}.ds{margin-bottom:76px}.dz{margin-bottom:40px}.ep{width:calc(100% + 32px)}.eq{margin-left:-16px}.er{margin-right:-16px}.fh{padding-left:16px}.fi{padding-right:16px}.fj{flex-basis:50%}.fk{max-width:50%}.gi{font-size:14px}.gj{line-height:20px}.gp{font-size:13px}.gq{padding:5px 12px}.hk{display:flex}.ie{margin-bottom:46px}.iw{margin-right:24px}.jy{margin-top:16px}.jz{font-size:16px}.ka{line-height:24px}.kh{margin:0 24px 56px}.kt{font-size:42px}.ku{line-height:52px}.kv{letter-spacing:-0.011em}.lm{margin:0 24px 80px}.ly{font-size:24px}.lz{line-height:30px}.ma{letter-spacing:-0.016em}.mp{gap:24px 0}.mq{grid-template-areas:"image image image image image image image image image image image image" "content content content content content content content content content content content content"}.my{display:block}.nm{margin-bottom:16px}.of{flex:1 0 auto}.oz{font-size:20px}.pa{max-height:48px}.pb{-webkit-line-clamp:2}.pc{letter-spacing:0}.qg{max-height:96px}.qh{-webkit-line-clamp:4}.qq{padding-top:2px}.qr{width:100%}.qx{margin-left:24px}.rd{margin-top:20px}.rh{grid-template-columns:repeat(6, 1fr)}.ri{grid-template-areas: "post0 post0 post0 post1 post1 post1" "post2 post2 post3 post3 post4 post4" "post5 post5 post6 post6 post7 post7" }.ru{gap:32px 0}.rz{aspect-ratio:1.5}.sb{max-height:60px}.sd{aspect-ratio:2}.sk{margin-top:80px}</style><style type="text/css" data-fela-rehydration="516" data-fela-type="RULE" media="all and (min-width: 728px) and (max-width: 903.98px)">.j{display:none}.w{display:flex}.x{justify-content:space-between}.bu{width:64px}.cf{margin:0 24px}.cn{justify-content:center}.cy{margin:0 48px}.dh{height:48px}.di{width:280px}.dr{margin-bottom:76px}.dx{margin:0}.dy{margin-bottom:40px}.el{width:calc(100% + 28px)}.em{margin-left:-14px}.eo{margin-right:-14px}.fd{padding-left:14px}.fe{padding-right:14px}.ff{flex-basis:50%}.fg{max-width:50%}.gg{font-size:13px}.gh{line-height:20px}.go{padding:0px 8px 1px}.ia{margin:0px}.id{margin-bottom:46px}.iu{padding-right:16px}.iv{margin-right:24px}.jv{margin-top:16px}.jw{font-size:16px}.jx{line-height:24px}.kg{margin:0 24px 56px}.kq{font-size:42px}.kr{line-height:52px}.ks{letter-spacing:-0.011em}.lv{font-size:24px}.lw{line-height:30px}.lx{letter-spacing:-0.016em}.mn{gap:24px 0}.mo{grid-template-areas:"image image image image image image image image image image image image" "content content content content content content content content content content content content"}.mx{display:block}.nl{margin-bottom:16px}.oe{flex:1 0 auto}.ov{font-size:20px}.ow{max-height:48px}.ox{-webkit-line-clamp:2}.oy{letter-spacing:0}.qe{max-height:96px}.qf{-webkit-line-clamp:4}.qo{padding-top:2px}.qp{width:100%}.qw{margin-left:24px}.rc{margin-top:20px}.rf{grid-template-columns:repeat(2, 1fr)}.rg{grid-template-areas: "post0 post1" "post2 post3" "post4 post5" "post6 post7" }.ry{aspect-ratio:2}.sj{margin-top:80px}</style><style type="text/css" data-fela-rehydration="516" data-fela-type="RULE" media="all and (min-width: 552px) and (max-width: 727.98px)">.k{display:none}.u{display:flex}.v{justify-content:space-between}.bt{width:24px}.ce{margin:0 0 0 24px}.cx{margin:0 24px}.df{height:32px}.dg{width:200px}.dq{margin-bottom:48px}.dw{margin:0}.ei{width:calc(100% + 24px)}.ej{margin-left:-12px}.ek{margin-right:-12px}.ez{padding-left:12px}.fa{padding-right:12px}.fb{flex-basis:100%}.fc{max-width:100%}.ge{font-size:13px}.gf{line-height:20px}.gn{padding:0px 8px 1px}.hz{margin:0px}.ic{margin-bottom:38px}.it{margin-right:16px}.jt{margin-top:12px}.ju{font-size:14px}.kf{margin:0 24px 48px}.kn{font-size:24px}.ko{line-height:30px}.kp{letter-spacing:-0.016em}.ll{margin:0 24px 56px}.ls{font-size:20px}.lt{line-height:24px}.lu{letter-spacing:0}.ml{gap:24px 0}.mm{grid-template-areas:"image image image image image image image image image image image image" "content content content content content content content content content content content content"}.mw{display:block}.nk{margin-bottom:16px}.od{flex:1 0 auto}.ot{max-height:48px}.ou{-webkit-line-clamp:2}.qc{max-height:96px}.qd{-webkit-line-clamp:4}.qm{padding-top:2px}.qn{width:100%}.qv{margin-left:24px}.rb{margin-top:20px}.rx{aspect-ratio:2}.si{margin-top:32px}</style><style type="text/css" data-fela-rehydration="516" data-fela-type="RULE" media="(orientation: landscape) and (max-width: 903.98px)">.nx{max-height:none}</style></head><body><div id="root"><div class="a b c"><div class="d e f g h i j k"></div><script>document.domain = document.domain;</script><div class="l c"><div class="l m n o c"><div class="p q r s t u v w x i d y z"><a class="fz ag ga bf ak b am an ao ap aq ar as at s u w i d q gb z" href="https://rsci.app.link/?%24canonical_url=https%3A%2F%2Fmedium.com%2Ftag%2Fkotlin-beginners&%7Efeature=LoOpenInAppButton&%7Echannel=ShowTagPosts&source=---top_nav_layout_nav----------------------------------" rel="noopener follow">Open in app<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" fill="none" viewBox="0 0 10 10" class="fy"><path fill="currentColor" d="M.985 8.485a.375.375 0 1 0 .53.53zM8.75 1.25h.375A.375.375 0 0 0 8.75.875zM8.375 6.5a.375.375 0 1 0 .75 0zM3.5.875a.375.375 0 1 0 0 .75zm-1.985 8.14 7.5-7.5-.53-.53-7.5 7.5zm6.86-7.765V6.5h.75V1.25zM3.5 1.625h5.25v-.75H3.5z"></path></svg></a><div class="ab q"><p class="bf b gc gd ge gf gg gh gi gj gk gl fz"><span><button class="bf b gc gd gm ge gf gn gg gh go gp gj gq gr gl gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh bm hi hj" data-testid="headerSignUpButton">Sign up</button></span></p><div class="ax l"><p class="bf b gc gd ge gf gg gh gi gj gk gl fz"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" data-testid="headerSignInButton" rel="noopener follow" href="/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2Ftag%2Fkotlin-beginners&source=login---top_nav_layout_nav-----------------------global_nav-----------">Sign in</a></span></p></div></div></div><div class="p q r ab ac"><div class="ab q ae"><a class="af ag ah ai aj ak al am an ao ap aq ar as at ab" aria-label="Homepage" data-testid="headerMediumLogo" rel="noopener follow" href="/?source=---top_nav_layout_nav----------------------------------"><svg xmlns="http://www.w3.org/2000/svg" width="719" height="160" fill="none" viewBox="0 0 719 160" class="au av aw"><path fill="#242424" d="m174.104 9.734.215-.047V8.02H130.39L89.6 103.89 48.81 8.021H1.472v1.666l.212.047c8.018 1.81 12.09 4.509 12.09 14.242V137.93c0 9.734-4.087 12.433-12.106 14.243l-.212.047v1.671h32.118v-1.665l-.213-.048c-8.018-1.809-12.089-4.509-12.089-14.242V30.586l52.399 123.305h2.972l53.925-126.743V140.75c-.687 7.688-4.721 10.062-11.982 11.701l-.215.05v1.652h55.948v-1.652l-.215-.05c-7.269-1.639-11.4-4.013-12.087-11.701l-.037-116.774h.037c0-9.733 4.071-12.432 12.087-14.242m25.555 75.488c.915-20.474 8.268-35.252 20.606-35.507 3.806.063 6.998 1.312 9.479 3.714 5.272 5.118 7.751 15.812 7.368 31.793zm-.553 5.77h65.573v-.275c-.186-15.656-4.721-27.834-13.466-36.196-7.559-7.227-18.751-11.203-30.507-11.203h-.263c-6.101 0-13.584 1.48-18.909 4.16-6.061 2.807-11.407 7.003-15.855 12.511-7.161 8.874-11.499 20.866-12.554 34.343q-.05.606-.092 1.212a50 50 0 0 0-.065 1.151 85.807 85.807 0 0 0-.094 5.689c.71 30.524 17.198 54.917 46.483 54.917 25.705 0 40.675-18.791 44.407-44.013l-1.886-.664c-6.557 13.556-18.334 21.771-31.738 20.769-18.297-1.369-32.314-19.922-31.042-42.395m139.722 41.359c-2.151 5.101-6.639 7.908-12.653 7.908s-11.513-4.129-15.418-11.63c-4.197-8.053-6.405-19.436-6.405-32.92 0-28.067 8.729-46.22 22.24-46.22 5.657 0 10.111 2.807 12.236 7.704zm43.499 20.008c-8.019-1.897-12.089-4.722-12.089-14.951V1.309l-48.716 14.353v1.757l.299-.024c6.72-.543 11.278.386 13.925 2.83 2.072 1.915 3.082 4.853 3.082 8.987v18.66c-4.803-3.067-10.516-4.56-17.448-4.56-14.059 0-26.909 5.92-36.176 16.672-9.66 11.205-14.767 26.518-14.767 44.278-.003 31.72 15.612 53.039 38.851 53.039 13.595 0 24.533-7.449 29.54-20.013v16.865h43.711v-1.746zM424.1 19.819c0-9.904-7.468-17.374-17.375-17.374-9.859 0-17.573 7.632-17.573 17.374s7.721 17.374 17.573 17.374c9.907 0 17.375-7.47 17.375-17.374m11.499 132.546c-8.019-1.897-12.089-4.722-12.089-14.951h-.035V43.635l-43.714 12.551v1.705l.263.024c9.458.842 12.047 4.1 12.047 15.152v81.086h43.751v-1.746zm112.013 0c-8.018-1.897-12.089-4.722-12.089-14.951V43.635l-41.621 12.137v1.71l.246.026c7.733.813 9.967 4.257 9.967 15.36v59.279c-2.578 5.102-7.415 8.131-13.274 8.336-9.503 0-14.736-6.419-14.736-18.073V43.638l-43.714 12.55v1.703l.262.024c9.459.84 12.05 4.097 12.05 15.152v50.17a56.3 56.3 0 0 0 .91 10.444l.787 3.423c3.701 13.262 13.398 20.197 28.59 20.197 12.868 0 24.147-7.966 29.115-20.43v17.311h43.714v-1.747zm169.818 1.788v-1.749l-.213-.05c-8.7-2.006-12.089-5.789-12.089-13.49v-63.79c0-19.89-11.171-31.761-29.883-31.761-13.64 0-25.141 7.882-29.569 20.16-3.517-13.01-13.639-20.16-28.606-20.16-13.146 0-23.449 6.938-27.869 18.657V43.643L545.487 55.68v1.715l.263.024c9.345.829 12.047 4.181 12.047 14.95v81.784h40.787v-1.746l-.215-.053c-6.941-1.631-9.181-4.606-9.181-12.239V66.998c1.836-4.289 5.537-9.37 12.853-9.37 9.086 0 13.692 6.296 13.692 18.697v77.828h40.797v-1.746l-.215-.053c-6.94-1.631-9.18-4.606-9.18-12.239V75.066a42 42 0 0 0-.578-7.26c1.947-4.661 5.86-10.177 13.475-10.177 9.214 0 13.691 6.114 13.691 18.696v77.828z"></path></svg></a><div class="ax h"><div class="ab ay az ba bb q bc bd"><div class="bm" aria-hidden="false" aria-describedby="searchResults" aria-labelledby="searchResults"></div><div class="bn bo ab"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M4.092 11.06a6.95 6.95 0 1 1 13.9 0 6.95 6.95 0 0 1-13.9 0m6.95-8.05a8.05 8.05 0 1 0 5.13 14.26l3.75 3.75a.56.56 0 1 0 .79-.79l-3.73-3.73A8.05 8.05 0 0 0 11.042 3z" clip-rule="evenodd"></path></svg></div><input role="combobox" aria-controls="searchResults" aria-expanded="false" aria-label="search" data-testid="headerSearchInput" tabindex="0" class="ay be bf bg z bh bi bj bk bl" placeholder="Search" value=""/></div></div></div><div class="h k w hk hl"><div class="hm ab"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" data-testid="headerWriteButton" rel="noopener follow" href="/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fnew-story&source=---top_nav_layout_nav-----------------------new_post_topnav-----------"><div class="bf b bg z fz hn ho ab q hp hq"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24" aria-label="Write"><path fill="currentColor" d="M14 4a.5.5 0 0 0 0-1zm7 6a.5.5 0 0 0-1 0zm-7-7H4v1h10zM3 4v16h1V4zm1 17h16v-1H4zm17-1V10h-1v10zm-1 1a1 1 0 0 0 1-1h-1zM3 20a1 1 0 0 0 1 1v-1zM4 3a1 1 0 0 0-1 1h1z"></path><path stroke="currentColor" d="m17.5 4.5-8.458 8.458a.25.25 0 0 0-.06.098l-.824 2.47a.25.25 0 0 0 .316.316l2.47-.823a.25.25 0 0 0 .098-.06L19.5 6.5m-2-2 2.323-2.323a.25.25 0 0 1 .354 0l1.646 1.646a.25.25 0 0 1 0 .354L19.5 6.5m-2-2 2 2"></path></svg><div class="fy l">Write</div></div></a></span></div></div><div class="k j i d"><div class="hm ab"><a class="af ag ah ai aj ak al am an ao ap aq ar as at" data-testid="headerSearchButton" rel="noopener follow" href="/search?source=---top_nav_layout_nav----------------------------------"><div class="bf b bg z fz hn ho ab q hp hq"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24" aria-label="Search"><path fill="currentColor" fill-rule="evenodd" d="M4.092 11.06a6.95 6.95 0 1 1 13.9 0 6.95 6.95 0 0 1-13.9 0m6.95-8.05a8.05 8.05 0 1 0 5.13 14.26l3.75 3.75a.56.56 0 1 0 .79-.79l-3.73-3.73A8.05 8.05 0 0 0 11.042 3z" clip-rule="evenodd"></path></svg></div></a></div></div><div class="hm h k j"><div class="ab q"><p class="bf b gc gd ge gf gg gh gi gj gk gl fz"><span><button class="bf b gc gd gm ge gf gn gg gh go gp gj gq gr gl gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh bm hi hj" data-testid="headerSignUpButton">Sign up</button></span></p><div class="ax l"><p class="bf b gc gd ge gf gg gh gi gj gk gl fz"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" data-testid="headerSignInButton" rel="noopener follow" href="/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2Ftag%2Fkotlin-beginners&source=login---top_nav_layout_nav-----------------------global_nav-----------">Sign in</a></span></p></div></div></div><div class="l" aria-hidden="false"><button class="ay hr am ab q ao hs ht hu" aria-label="user options menu" data-testid="headerUserIcon"><div class="l hn"><img alt="" class="l hh by bz ca cv" src="https://miro.medium.com/v2/resize:fill:64:64/1*dmbNkD5D-u45r44go_cf0g.png" width="32" height="32" loading="lazy" role="presentation"/><div class="hv by l bz ca hw n ay hx"></div></div></button></div></div></div><div class="ab cc"><div class="hy hz ia cg ch ci cj bh"><div class="ib ic id ie if ig l hn"><div class="ab q ih ii ij ik il im in io"><div class="ip i d cu"></div><a class="bk ag bg iq bf ak b ir an ao ap aq ar as at z ab q is it iu iv fi iw ix iy iz cv cq ja jb" rel="noopener follow" href="/explore-topics?source=topic_portal---topic_nav---kotlin_beginners-------------------------------"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" height="24" width="24"><circle cx="12" cy="12.001" r="10.5" stroke="currentColor"></circle><path fill="currentColor" fill-rule="evenodd" d="m16.083 6.167-.147.989-.984 6.636-.036.247-.22.119-5.899 3.194-.88.476.147-.989.984-6.635.037-.248.22-.119 5.899-3.194zM9.92 11.15 9.2 15.997l4.308-2.333zm4.163 1.695-3.59-2.514L14.8 8z" clip-rule="evenodd"></path></svg><div class="fy h k">Explore topics</div></a><a class="cr ay am ao" aria-current="page" rel="noopener follow" href="/tag/kotlin-beginners?source=topic_portal---topic_nav---kotlin_beginners-------------------------------"><div class="jc hn cv cq jd ja jb bf b bg z bk iz">Kotlin Beginners</div></a><a class="cr ay am ao" rel="noopener follow" href="/tag/kotlin?source=topic_portal---topic_nav---kotlin_beginners-------------------------------"><div class="jc hn cv cq iq ja jb bf b bg z bk iz">Kotlin</div></a><a class="cr ay am ao" rel="noopener follow" href="/tag/android?source=topic_portal---topic_nav---kotlin_beginners-------------------------------"><div class="jc hn cv cq iq ja jb bf b bg z bk iz">Android</div></a><a class="cr ay am ao" rel="noopener follow" href="/tag/android-app-development?source=topic_portal---topic_nav---kotlin_beginners-------------------------------"><div class="jc hn cv cq iq ja jb bf b bg z bk iz">Android App Development</div></a><a class="cr ay am ao" rel="noopener follow" href="/tag/programming?source=topic_portal---topic_nav---kotlin_beginners-------------------------------"><div class="jc hn cv cq iq ja jb bf b bg z bk iz">Programming</div></a><a class="cr ay am ao" rel="noopener follow" href="/tag/androiddev?source=topic_portal---topic_nav---kotlin_beginners-------------------------------"><div class="jc hn cv cq iq ja jb bf b bg z bk iz">AndroidDev</div></a><a class="cr ay am ao" rel="noopener follow" href="/tag/java?source=topic_portal---topic_nav---kotlin_beginners-------------------------------"><div class="jc hn cv cq iq ja jb bf b bg z bk iz">Java</div></a><a class="cr ay am ao" rel="noopener follow" href="/tag/kotlin-coroutines?source=topic_portal---topic_nav---kotlin_beginners-------------------------------"><div class="jc hn cv cq iq ja jb bf b bg z bk iz">Kotlin Coroutines</div></a><a class="cr ay am ao" rel="noopener follow" href="/tag/kotlin-native?source=topic_portal---topic_nav---kotlin_beginners-------------------------------"><div class="jc hn cv cq iq ja jb bf b bg z bk iz">Kotlin Native</div></a><a class="cr ay am ao" rel="noopener follow" href="/tag/kotlin-multiplatform?source=topic_portal---topic_nav---kotlin_beginners-------------------------------"><div class="jc hn cv cq iq ja jb bf b bg z bk iz">Kotlin Multiplatform</div></a><div class="hw je n jf jg ab q jh ji jj jk"><button class="ay am jl ao jm jn" aria-label="next sections" tabindex="-1"><svg width="26px" height="26px" class="svgIcon-use" viewBox="0 0 19 19" style="transform:rotate(180deg)" aria-hidden="true"><path fill-rule="evenodd" d="M11.47 13.969 6.986 9.484 11.47 5l.553.492L8.03 9.484l3.993 3.993z"></path></svg></button></div><div class="hw jo n jf jp ab q jh ji jq jk"><button class="ay am jl ao jm jn" aria-label="previous sections" tabindex="-1"><svg width="26px" height="26px" class="svgIcon-use" viewBox="0 0 19 19" aria-hidden="true"><path fill-rule="evenodd" d="M11.47 13.969 6.986 9.484 11.47 5l.553.492L8.03 9.484l3.993 3.993z"></path></svg></button></div></div></div></div></div><div class="l hn"><div class="ab cc"><div class="ke kf kg kh ki ci cj bh"><div class="l hj"><h2 class="bf kj kk kl km kn ko kp kq kr ks kt ku kv kw kx ky bk">Kotlin Beginners</h2><div class="ab cc jr js gd jt ju gf jv jw jx jy jz ka kb kc kd dn bf b fz">Topic<div class="kz l">·</div>1.1K<!-- --> <!-- -->Followers<div class="kz l">·</div>2.7K<!-- --> <!-- -->Stories</div><div class="l"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2Fsignedin%2Fsubscriptions%2Ftag%2Fkotlin-beginners%3FfollowSource%3Dtopics_v2&operation=register&redirect=https%3A%2F%2Fmedium.com%2Ftag%2Fkotlin-beginners&source=------kotlin_beginners--------------------follow_tag-----------"><button class="bf b bg z la jc lb lc ld le lf gz ha lg lh li he hf hg hh bm hi hj">Follow</button></a></span></div></div></div></div><div class="ab cc"><div class="hy hz ia cg ch ci cj bh"><div class="lj bh r"></div></div></div><div class="ab cc"><div class="lk ll kg lm ln ci cj bh"><div class="lo l"><h2 class="bf kj lp lq lr ls lt lu lv lw lx ly lz ma mb mc md bk">Recommended stories</h2></div><div class="j i d"><div class="ab db"><div class="me l"><article class="gb"><div class="gb mf l"><div class="bh gb"><div class="gb l"><div class="hn gb mg mh mi mj mk ml mm mn mo mp mq mr ms" role="link" data-href="https://medium.com/@elenavanengelen/kotlin-tips-and-tricks-you-may-not-know-5-simplify-functional-composition-with-let-0ae48d91c860" tabindex="0"><div class="mt"><div aria-label="Kotlin Tips and Tricks You May Not Know: #5 — Simplify Functional Composition with let"><div class="mv mw mx my mz"><img alt="Kotlin Tips and Tricks You May Not Know: #5 — Simplify Functional Composition with let" class="bh na nb nc nd bx" src="https://miro.medium.com/v2/resize:fit:1358/format:webp/1*rTFrwaUwwTN7PAUFWR3ASA.jpeg" loading="eager"/></div></div></div><div class="mu ab cc db"><div class="ab db ne bh nf ng nh ni"><div class="nj nk nl nm nn ab q"><div class="cr l"><div><div class="l" aria-hidden="false"><a tabindex="-1" rel="noopener follow" href="/@elenavanengelen?source=topic_portal---recommended_stories---kotlin_beginners---0-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div class="l hn"><img alt="Elena van Engelen - Maslova" class="l hh by no np cv" src="https://miro.medium.com/v2/resize:fill:40:40/1*N-t_FroIxVl5WDVcCO45jw@2x.jpeg" width="20" height="20" loading="lazy"/><div class="hv by l no np hw n ay hx"></div></div></a></div></div></div><div><div class="l" aria-hidden="false"><a class="af ag ah ai aj ak al am an ao ap aq ar nq ab q" rel="noopener follow" href="/@elenavanengelen?source=topic_portal---recommended_stories---kotlin_beginners---0-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><p class="bf b ga z cm nr ns nt nu nv nw nx bk">Elena van Engelen - Maslova</p><div class="ny nz l"><div class="ab oa"><div class="ab"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="#437AFF" d="M15.163 8c0 .65-.459 1.144-.863 1.575-.232.244-.471.5-.563.719s-.086.543-.092.875c-.006.606-.018 1.3-.49 1.781-.47.481-1.15.494-1.744.5-.324.006-.655.013-.857.094s-.465.337-.704.575c-.422.412-.906.881-1.542.881-.637 0-1.12-.469-1.543-.881-.239-.238-.49-.482-.704-.575-.214-.094-.532-.088-.857-.094-.593-.006-1.273-.019-1.744-.5s-.484-1.175-.49-1.781c-.006-.332-.012-.669-.092-.875-.08-.207-.33-.475-.563-.719-.404-.431-.863-.925-.863-1.575s.46-1.144.863-1.575c.233-.244.472-.5.563-.719.092-.219.086-.544.092-.875.006-.606.019-1.3.49-1.781s1.15-.494 1.744-.5c.325-.006.655-.012.857-.094.202-.081.465-.337.704-.575C7.188 1.47 7.671 1 8.308 1s1.12.469 1.542.881c.239.238.49.481.704.575s.533.088.857.094c.594.006 1.273.019 1.745.5.47.481.483 1.175.49 1.781.005.331.011.669.091.875s.33.475.563.719c.404.431.863.925.863 1.575"></path><path fill="#fff" d="M7.328 10.5c.195 0 .381.08.519.22.137.141.215.331.216.53 0 .066.026.13.072.177a.24.24 0 0 0 .346 0 .25.25 0 0 0 .071-.177c.001-.199.079-.389.216-.53a.73.73 0 0 1 .519-.22h1.959c.13 0 .254-.053.346-.146a.5.5 0 0 0 .143-.354V6a.5.5 0 0 0-.143-.354.49.49 0 0 0-.346-.146h-1.47c-.324 0-.635.132-.865.366-.23.235-.359.552-.359.884v2.5c0 .066-.025.13-.071.177a.24.24 0 0 1-.346 0 .25.25 0 0 1-.072-.177v-2.5c0-.332-.13-.65-.359-.884A1.21 1.21 0 0 0 6.84 5.5h-1.47a.49.49 0 0 0-.346.146A.5.5 0 0 0 4.88 6v4c0 .133.051.26.143.354a.49.49 0 0 0 .347.146z"></path></svg></div></div></div></a></div></div></div><div class="ob l oc od oe of og oh"><div class="oi oj ok ol om on oo op"><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/@elenavanengelen/kotlin-tips-and-tricks-you-may-not-know-5-simplify-functional-composition-with-let-0ae48d91c860?source=topic_portal---recommended_stories---kotlin_beginners---0-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div title="Kotlin Tips and Tricks You May Not Know: #5 — Simplify Functional Composition with let"><h2 class="bf oq lp lq or os lr ls lt ot ou lu ov jx ow ox oy oz ka pa pb pc pd kd pe pf pg cm ns nt nv nx bk">Kotlin Tips and Tricks You May Not Know: #5 — Simplify Functional Composition with let</h2></div><div class="ph l"><h3 class="bf b pi z cm pj ns nt pk nv nx fz">Improve your functional composition using the let scope function</h3></div></a></div></div><span class="bf b ga z fz"><div class="pl ab pm ae"><div class="ab q pq">10h ago<div class="h k j i d"><div class="hn pn do ab q"><div class="hw po pp ab q pq"><div class="ax do du l cv"></div></div><a class="hw ji pp ab q pq" tabindex="-1" rel="noopener follow" href="/@elenavanengelen/kotlin-tips-and-tricks-you-may-not-know-5-simplify-functional-composition-with-let-0ae48d91c860?source=topic_portal---recommended_stories---kotlin_beginners---0-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"></a></div></div></div><div class="ab q pr ps"><div class="h k j i d"><div><div class="bm" aria-hidden="false"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2F0ae48d91c860&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40elenavanengelen%2Fkotlin-tips-and-tricks-you-may-not-know-5-simplify-functional-composition-with-let-0ae48d91c860&source=---recommended_stories---kotlin_beginners---0-84----------------bookmark_preview----72cd1481_13d1_48ac_9874_408eb25d8028-------"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 25 25" class="fz pt pu" aria-label="Add to list bookmark button"><path fill="currentColor" d="M18 2.5a.5.5 0 0 1 1 0V5h2.5a.5.5 0 0 1 0 1H19v2.5a.5.5 0 1 1-1 0V6h-2.5a.5.5 0 0 1 0-1H18zM7 7a1 1 0 0 1 1-1h3.5a.5.5 0 0 0 0-1H8a2 2 0 0 0-2 2v14a.5.5 0 0 0 .805.396L12.5 17l5.695 4.396A.5.5 0 0 0 19 21v-8.5a.5.5 0 0 0-1 0v7.485l-5.195-4.012a.5.5 0 0 0-.61 0L7 19.985z"></path></svg></a></span></div></div></div></div></div></span><div class="j i d"><div class="lj bh r me"></div></div></div></div></div></div></div></div></article></div><div class="pv l"><article class="gb"><div class="gb mf l"><div class="bh gb"><div class="gb l"><div class="hn gb mg mh mi mj mk ml mm mn mo mp mq mr ms" role="link" data-href="https://medium.com/@hunterfreas/handling-ui-events-in-jetpack-compose-a-clean-approach-c8fd1bfc6231" tabindex="0"><div class="mt"><div aria-label="Handling UI Events in Jetpack Compose: A Clean Approach"><div class="mv mw mx my mz"><img alt="Handling UI Events in Jetpack Compose: A Clean Approach" class="bh na nb nc nd bx" src="https://miro.medium.com/v2/resize:fit:1358/format:webp/1*SZT3JGEmWBh_nrjZnLDVEg.jpeg" loading="eager"/></div></div></div><div class="mu ab cc db"><div class="ab db ne bh nf ng nh ni"><div class="nj nk nl nm nn ab q"><div class="cr l"><div><div class="l" aria-hidden="false"><a tabindex="-1" rel="noopener follow" href="/@hunterfreas?source=topic_portal---recommended_stories---kotlin_beginners---1-107--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div class="l hn"><img alt="Hunter Freas" class="l hh by no np cv" src="https://miro.medium.com/v2/resize:fill:40:40/1*NU3kSJfPIpXuPZfekQ9BJw.jpeg" width="20" height="20" loading="lazy"/><div class="hv by l no np hw n ay hx"></div></div></a></div></div></div><div><div class="l" aria-hidden="false"><a class="af ag ah ai aj ak al am an ao ap aq ar nq ab q" rel="noopener follow" href="/@hunterfreas?source=topic_portal---recommended_stories---kotlin_beginners---1-107--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><p class="bf b ga z cm nr ns nt nu nv nw nx bk">Hunter Freas</p></a></div></div></div><div class="ob l oc od oe of og oh"><div class="oi oj ok ol om on oo op"><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/@hunterfreas/handling-ui-events-in-jetpack-compose-a-clean-approach-c8fd1bfc6231?source=topic_portal---recommended_stories---kotlin_beginners---1-107--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div title=""><h2 class="bf oq lp lq or os lr ls lt ot ou lu ov jx ow ox oy oz ka pa pb pc pd kd pe pf pg cm ns nt nv nx bk">Handling UI Events in Jetpack Compose: A Clean Approach</h2></div><div class="ph l"><h3 class="bf b pi z cm pj ns nt pk nv nx fz">Explore a simple method for managing UI events in Jetpack Compose for cleaner, scalable code.</h3></div></a></div></div><span class="bf b ga z fz"><div class="pl ab pm ae"><div class="ab q pq"><span>Mar 12</span><div class="h k j i d"><div class="hn pn do ab q"><div class="hw po pp ab q pq"><div class="ax do du l cv"></div></div><a class="hw ji pp ab q pq" tabindex="-1" rel="noopener follow" href="/@hunterfreas/handling-ui-events-in-jetpack-compose-a-clean-approach-c8fd1bfc6231?source=topic_portal---recommended_stories---kotlin_beginners---1-107--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div><div class="ab" aria-hidden="false"><div class="ab q pw"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#6B6B6B" viewBox="0 0 16 16"><path fill="#6B6B6B" d="M12.344 11.458A5.28 5.28 0 0 0 14 7.526C14 4.483 11.391 2 8.051 2S2 4.483 2 7.527c0 3.051 2.712 5.526 6.059 5.526a6.6 6.6 0 0 0 1.758-.236q.255.223.554.414c.784.51 1.626.768 2.512.768a.37.37 0 0 0 .355-.214.37.37 0 0 0-.03-.384 4.7 4.7 0 0 1-.857-1.958v.014z"></path></svg><span>5</span></div></div></div></a></div></div></div><div class="ab q pr ps"><div class="h k j i d"><div><div class="bm" aria-hidden="false"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2Fc8fd1bfc6231&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40hunterfreas%2Fhandling-ui-events-in-jetpack-compose-a-clean-approach-c8fd1bfc6231&source=---recommended_stories---kotlin_beginners---1-107----------------bookmark_preview----72cd1481_13d1_48ac_9874_408eb25d8028-------"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 25 25" class="fz pt pu" aria-label="Add to list bookmark button"><path fill="currentColor" d="M18 2.5a.5.5 0 0 1 1 0V5h2.5a.5.5 0 0 1 0 1H19v2.5a.5.5 0 1 1-1 0V6h-2.5a.5.5 0 0 1 0-1H18zM7 7a1 1 0 0 1 1-1h3.5a.5.5 0 0 0 0-1H8a2 2 0 0 0-2 2v14a.5.5 0 0 0 .805.396L12.5 17l5.695 4.396A.5.5 0 0 0 19 21v-8.5a.5.5 0 0 0-1 0v7.485l-5.195-4.012a.5.5 0 0 0-.61 0L7 19.985z"></path></svg></a></span></div></div></div></div></div></span><div class="j i d"><div class="lj bh r me"></div></div></div></div></div></div></div></div></article></div><div class="pv l"><article class=""><div class="mf l"><div class="bh gb"><div class="l"><div class="bh l"><div style="position:relative;display:flex" role="link" data-href="https://medium.com/@mirzaadil/kotlin-data-types-defined-in-depth-explanation-4ebe363daf6d" tabindex="0"><div class="bh nf ng nh ni"><div class="ab"><div class="nj nk nl nm nn ab q"><div class="cr l"><div><div class="l" aria-hidden="false"><a tabindex="-1" rel="noopener follow" href="/@mirzaadil?source=topic_portal---recommended_stories---kotlin_beginners---2-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div class="l hn"><img alt="Mirza Adil" class="l hh by no np cv" src="https://miro.medium.com/v2/resize:fill:40:40/1*d9p0K9gDCJbEwFuKIctXgQ.jpeg" width="20" height="20" loading="lazy"/><div class="hv by l no np hw n ay hx"></div></div></a></div></div></div><div><div class="l" aria-hidden="false"><a class="af ag ah ai aj ak al am an ao ap aq ar nq ab q" rel="noopener follow" href="/@mirzaadil?source=topic_portal---recommended_stories---kotlin_beginners---2-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><p class="bf b ga z cm nr ns nt nu nv nw nx bk">Mirza Adil</p></a></div></div></div></div><div class="ab"><div class="l px oh"><div class="oi oj ok ol om on oo op py pz"><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/@mirzaadil/kotlin-data-types-defined-in-depth-explanation-4ebe363daf6d?source=topic_portal---recommended_stories---kotlin_beginners---2-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><h2 class="bf oq lp lq qa qb lr ls lt qc qd lu ov jx qe qf oy oz ka qg qh pc pd kd qi qj pg cm ns nt nv nx bk">Kotlin Data Types Defined: In-Depth Explanation:</h2><div class="ph"><h3 class="bf b pi z cm pj ns nt pk nv nx fz">Kotlin is a modern programming language, created by JetBrains, that increases developer productivity and provides a safe coding approach.</h3></div></a></div><div class="h k j i d"><div class="qk ql qm qn qo qp qq qr qs qt l"><span class="bf b ga z fz"><div class="pl ab pm ae"><div class="ab q pq">4h ago<div class="h k j i d"><div class="hn pn do ab q"><div class="hw po pp ab q pq"><div class="ax do du l cv"></div></div><a class="hw ji pp ab q pq" tabindex="-1" rel="noopener follow" href="/@mirzaadil/kotlin-data-types-defined-in-depth-explanation-4ebe363daf6d?source=topic_portal---recommended_stories---kotlin_beginners---2-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"></a></div></div></div><div class="ab q pr ps"><div class="h k j i d"><div><div class="bm" aria-hidden="false"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2F4ebe363daf6d&operation=register&redirect=https%3A%2F%2Fmirzaadil.medium.com%2Fkotlin-data-types-defined-in-depth-explanation-4ebe363daf6d&source=---recommended_stories---kotlin_beginners---2-84----------------bookmark_preview----72cd1481_13d1_48ac_9874_408eb25d8028-------"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 25 25" class="fz pt pu" aria-label="Add to list bookmark button"><path fill="currentColor" d="M18 2.5a.5.5 0 0 1 1 0V5h2.5a.5.5 0 0 1 0 1H19v2.5a.5.5 0 1 1-1 0V6h-2.5a.5.5 0 0 1 0-1H18zM7 7a1 1 0 0 1 1-1h3.5a.5.5 0 0 0 0-1H8a2 2 0 0 0-2 2v14a.5.5 0 0 0 .805.396L12.5 17l5.695 4.396A.5.5 0 0 0 19 21v-8.5a.5.5 0 0 0-1 0v7.485l-5.195-4.012a.5.5 0 0 0-.61 0L7 19.985z"></path></svg></a></span></div></div></div></div></div></span></div></div></div><div class="qu qv qw qx qy l"><div aria-label="Kotlin Data Types Defined: In-Depth Explanation:"><div class=""><img alt="Kotlin Data Types Defined: In-Depth Explanation:" class="bx na" src="https://miro.medium.com/v2/resize:fill:160:106/format:webp/1*oNZb97GO9LxrUgO8J8ECKA.png" width="80" height="53" loading="lazy"/></div></div></div></div><div class="qz"><span class="bf b ga z fz"><div class="pl ab pm ae"><div class="ab q pq">4h ago<div class="h k j i d"><div class="hn pn do ab q"><div class="hw po pp ab q pq"><div class="ax do du l cv"></div></div><a class="hw ji pp ab q pq" tabindex="-1" rel="noopener follow" href="/@mirzaadil/kotlin-data-types-defined-in-depth-explanation-4ebe363daf6d?source=topic_portal---recommended_stories---kotlin_beginners---2-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"></a></div></div></div><div class="ab q pr ps"><div class="h k j i d"><div><div class="bm" aria-hidden="false"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2F4ebe363daf6d&operation=register&redirect=https%3A%2F%2Fmirzaadil.medium.com%2Fkotlin-data-types-defined-in-depth-explanation-4ebe363daf6d&source=---recommended_stories---kotlin_beginners---2-84----------------bookmark_preview----72cd1481_13d1_48ac_9874_408eb25d8028-------"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 25 25" class="fz pt pu" aria-label="Add to list bookmark button"><path fill="currentColor" d="M18 2.5a.5.5 0 0 1 1 0V5h2.5a.5.5 0 0 1 0 1H19v2.5a.5.5 0 1 1-1 0V6h-2.5a.5.5 0 0 1 0-1H18zM7 7a1 1 0 0 1 1-1h3.5a.5.5 0 0 0 0-1H8a2 2 0 0 0-2 2v14a.5.5 0 0 0 .805.396L12.5 17l5.695 4.396A.5.5 0 0 0 19 21v-8.5a.5.5 0 0 0-1 0v7.485l-5.195-4.012a.5.5 0 0 0-.61 0L7 19.985z"></path></svg></a></span></div></div></div></div></div></span></div></div></div><div class="lj bh r ra rb rc rd re"></div></div></div></div></div></article></div><div class="pv l"><article class=""><div class="mf l"><div class="bh gb"><div class="l"><div class="bh l"><div style="position:relative;display:flex" role="link" data-href="https://medium.com/@elenavanengelen/kotlin-tips-and-tricks-you-may-not-know-3-built-in-assertions-d26540ccb2e0" tabindex="0"><div class="bh nf ng nh ni"><div class="ab"><div class="nj nk nl nm nn ab q"><div class="cr l"><div><div class="l" aria-hidden="false"><a tabindex="-1" rel="noopener follow" href="/@elenavanengelen?source=topic_portal---recommended_stories---kotlin_beginners---3-85--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div class="l hn"><img alt="Elena van Engelen - Maslova" class="l hh by no np cv" src="https://miro.medium.com/v2/resize:fill:40:40/1*N-t_FroIxVl5WDVcCO45jw@2x.jpeg" width="20" height="20" loading="lazy"/><div class="hv by l no np hw n ay hx"></div></div></a></div></div></div><div><div class="l" aria-hidden="false"><a class="af ag ah ai aj ak al am an ao ap aq ar nq ab q" rel="noopener follow" href="/@elenavanengelen?source=topic_portal---recommended_stories---kotlin_beginners---3-85--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><p class="bf b ga z cm nr ns nt nu nv nw nx bk">Elena van Engelen - Maslova</p><div class="ny nz l"><div class="ab oa"><div class="ab"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="#437AFF" d="M15.163 8c0 .65-.459 1.144-.863 1.575-.232.244-.471.5-.563.719s-.086.543-.092.875c-.006.606-.018 1.3-.49 1.781-.47.481-1.15.494-1.744.5-.324.006-.655.013-.857.094s-.465.337-.704.575c-.422.412-.906.881-1.542.881-.637 0-1.12-.469-1.543-.881-.239-.238-.49-.482-.704-.575-.214-.094-.532-.088-.857-.094-.593-.006-1.273-.019-1.744-.5s-.484-1.175-.49-1.781c-.006-.332-.012-.669-.092-.875-.08-.207-.33-.475-.563-.719-.404-.431-.863-.925-.863-1.575s.46-1.144.863-1.575c.233-.244.472-.5.563-.719.092-.219.086-.544.092-.875.006-.606.019-1.3.49-1.781s1.15-.494 1.744-.5c.325-.006.655-.012.857-.094.202-.081.465-.337.704-.575C7.188 1.47 7.671 1 8.308 1s1.12.469 1.542.881c.239.238.49.481.704.575s.533.088.857.094c.594.006 1.273.019 1.745.5.47.481.483 1.175.49 1.781.005.331.011.669.091.875s.33.475.563.719c.404.431.863.925.863 1.575"></path><path fill="#fff" d="M7.328 10.5c.195 0 .381.08.519.22.137.141.215.331.216.53 0 .066.026.13.072.177a.24.24 0 0 0 .346 0 .25.25 0 0 0 .071-.177c.001-.199.079-.389.216-.53a.73.73 0 0 1 .519-.22h1.959c.13 0 .254-.053.346-.146a.5.5 0 0 0 .143-.354V6a.5.5 0 0 0-.143-.354.49.49 0 0 0-.346-.146h-1.47c-.324 0-.635.132-.865.366-.23.235-.359.552-.359.884v2.5c0 .066-.025.13-.071.177a.24.24 0 0 1-.346 0 .25.25 0 0 1-.072-.177v-2.5c0-.332-.13-.65-.359-.884A1.21 1.21 0 0 0 6.84 5.5h-1.47a.49.49 0 0 0-.346.146A.5.5 0 0 0 4.88 6v4c0 .133.051.26.143.354a.49.49 0 0 0 .347.146z"></path></svg></div></div></div></a></div></div></div></div><div class="ab"><div class="l px oh"><div class="oi oj ok ol om on oo op py pz"><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/@elenavanengelen/kotlin-tips-and-tricks-you-may-not-know-3-built-in-assertions-d26540ccb2e0?source=topic_portal---recommended_stories---kotlin_beginners---3-85--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><h2 class="bf oq lp lq qa qb lr ls lt qc qd lu ov jx qe qf oy oz ka qg qh pc pd kd qi qj pg cm ns nt nv nx bk">Kotlin Tips and Tricks You May Not Know: #3 — Built-in Assertions</h2><div class="ph"><h3 class="bf b pi z cm pj ns nt pk nv nx fz">Effortlessly handle checks and validations in Kotlin using built-in functions</h3></div></a></div><div class="h k j i d"><div class="qk ql qm qn qo qp qq qr qs qt l"><span class="bf b ga z fz"><div class="pl ab pm ae"><div class="ab q pq"><span>Oct 1</span><div class="h k j i d"><div class="hn pn do ab q"><div class="hw po pp ab q pq"><div class="ax do du l cv"></div></div><a class="hw ji pp ab q pq" tabindex="-1" rel="noopener follow" href="/@elenavanengelen/kotlin-tips-and-tricks-you-may-not-know-3-built-in-assertions-d26540ccb2e0?source=topic_portal---recommended_stories---kotlin_beginners---3-85--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div><div class="ab" aria-hidden="false"><div class="ab q pw"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#6B6B6B" viewBox="0 0 16 16"><path fill="#6B6B6B" d="M12.344 11.458A5.28 5.28 0 0 0 14 7.526C14 4.483 11.391 2 8.051 2S2 4.483 2 7.527c0 3.051 2.712 5.526 6.059 5.526a6.6 6.6 0 0 0 1.758-.236q.255.223.554.414c.784.51 1.626.768 2.512.768a.37.37 0 0 0 .355-.214.37.37 0 0 0-.03-.384 4.7 4.7 0 0 1-.857-1.958v.014z"></path></svg><span>1</span></div></div></div></a></div></div></div><div class="ab q pr ps"><div class="h k j i d"><div><div class="bm" aria-hidden="false"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2Fd26540ccb2e0&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40elenavanengelen%2Fkotlin-tips-and-tricks-you-may-not-know-3-built-in-assertions-d26540ccb2e0&source=---recommended_stories---kotlin_beginners---3-85----------------bookmark_preview----72cd1481_13d1_48ac_9874_408eb25d8028-------"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 25 25" class="fz pt pu" aria-label="Add to list bookmark button"><path fill="currentColor" d="M18 2.5a.5.5 0 0 1 1 0V5h2.5a.5.5 0 0 1 0 1H19v2.5a.5.5 0 1 1-1 0V6h-2.5a.5.5 0 0 1 0-1H18zM7 7a1 1 0 0 1 1-1h3.5a.5.5 0 0 0 0-1H8a2 2 0 0 0-2 2v14a.5.5 0 0 0 .805.396L12.5 17l5.695 4.396A.5.5 0 0 0 19 21v-8.5a.5.5 0 0 0-1 0v7.485l-5.195-4.012a.5.5 0 0 0-.61 0L7 19.985z"></path></svg></a></span></div></div></div></div></div></span></div></div></div><div class="qu qv qw qx qy l"><div aria-label="Kotlin Tips and Tricks You May Not Know: #3 — Built-in Assertions"><div class=""><img alt="Kotlin Tips and Tricks You May Not Know: #3 — Built-in Assertions" class="bx na" src="https://miro.medium.com/v2/resize:fill:160:106/format:webp/1*uRaZ79MNXUMw68Uvo9djeA.png" width="80" height="53" loading="lazy"/></div></div></div></div><div class="qz"><span class="bf b ga z fz"><div class="pl ab pm ae"><div class="ab q pq"><span>Oct 1</span><div class="h k j i d"><div class="hn pn do ab q"><div class="hw po pp ab q pq"><div class="ax do du l cv"></div></div><a class="hw ji pp ab q pq" tabindex="-1" rel="noopener follow" href="/@elenavanengelen/kotlin-tips-and-tricks-you-may-not-know-3-built-in-assertions-d26540ccb2e0?source=topic_portal---recommended_stories---kotlin_beginners---3-85--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div><div class="ab" aria-hidden="false"><div class="ab q pw"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#6B6B6B" viewBox="0 0 16 16"><path fill="#6B6B6B" d="M12.344 11.458A5.28 5.28 0 0 0 14 7.526C14 4.483 11.391 2 8.051 2S2 4.483 2 7.527c0 3.051 2.712 5.526 6.059 5.526a6.6 6.6 0 0 0 1.758-.236q.255.223.554.414c.784.51 1.626.768 2.512.768a.37.37 0 0 0 .355-.214.37.37 0 0 0-.03-.384 4.7 4.7 0 0 1-.857-1.958v.014z"></path></svg><span>1</span></div></div></div></a></div></div></div><div class="ab q pr ps"><div class="h k j i d"><div><div class="bm" aria-hidden="false"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2Fd26540ccb2e0&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40elenavanengelen%2Fkotlin-tips-and-tricks-you-may-not-know-3-built-in-assertions-d26540ccb2e0&source=---recommended_stories---kotlin_beginners---3-85----------------bookmark_preview----72cd1481_13d1_48ac_9874_408eb25d8028-------"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 25 25" class="fz pt pu" aria-label="Add to list bookmark button"><path fill="currentColor" d="M18 2.5a.5.5 0 0 1 1 0V5h2.5a.5.5 0 0 1 0 1H19v2.5a.5.5 0 1 1-1 0V6h-2.5a.5.5 0 0 1 0-1H18zM7 7a1 1 0 0 1 1-1h3.5a.5.5 0 0 0 0-1H8a2 2 0 0 0-2 2v14a.5.5 0 0 0 .805.396L12.5 17l5.695 4.396A.5.5 0 0 0 19 21v-8.5a.5.5 0 0 0-1 0v7.485l-5.195-4.012a.5.5 0 0 0-.61 0L7 19.985z"></path></svg></a></span></div></div></div></div></div></span></div></div></div><div class="lj bh r ra rb rc rd re"></div></div></div></div></div></article></div><div class="pv l"><article class=""><div class="mf l"><div class="bh gb"><div class="l"><div class="bh l"><div style="position:relative;display:flex" role="link" data-href="https://medium.com/@samarthbnsl/the-easiest-way-to-understand-and-use-coroutines-in-kotlin-5c2301120952" tabindex="0"><div class="bh nf ng nh ni"><div class="ab"><div class="nj nk nl nm nn ab q"><div class="cr l"><div><div class="l" aria-hidden="false"><a tabindex="-1" rel="noopener follow" href="/@samarthbnsl?source=topic_portal---recommended_stories---kotlin_beginners---4-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div class="l hn"><img alt="Samarthbnsl" class="l hh by no np cv" src="https://miro.medium.com/v2/resize:fill:40:40/0*UxPdIIrJTIaAso0N" width="20" height="20" loading="lazy"/><div class="hv by l no np hw n ay hx"></div></div></a></div></div></div><div><div class="l" aria-hidden="false"><a class="af ag ah ai aj ak al am an ao ap aq ar nq ab q" rel="noopener follow" href="/@samarthbnsl?source=topic_portal---recommended_stories---kotlin_beginners---4-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><p class="bf b ga z cm nr ns nt nu nv nw nx bk">Samarthbnsl</p></a></div></div></div></div><div class="ab"><div class="l px oh"><div class="oi oj ok ol om on oo op py pz"><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/@samarthbnsl/the-easiest-way-to-understand-and-use-coroutines-in-kotlin-5c2301120952?source=topic_portal---recommended_stories---kotlin_beginners---4-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><h2 class="bf oq lp lq qa qb lr ls lt qc qd lu ov jx qe qf oy oz ka qg qh pc pd kd qi qj pg cm ns nt nv nx bk">The easiest way to understand and use Coroutines in Kotlin</h2><div class="ph"><h3 class="bf b pi z cm pj ns nt pk nv nx fz">As soon as you start building your Android app, you might need to store some data or values that persist locally over time. Jetpack Compose…</h3></div></a></div><div class="h k j i d"><div class="qk ql qm qn qo qp qq qr qs qt l"><span class="bf b ga z fz"><div class="pl ab pm ae"><div class="ab q pq">22h ago<div class="h k j i d"><div class="hn pn do ab q"><div class="hw po pp ab q pq"><div class="ax do du l cv"></div></div><a class="hw ji pp ab q pq" tabindex="-1" rel="noopener follow" href="/@samarthbnsl/the-easiest-way-to-understand-and-use-coroutines-in-kotlin-5c2301120952?source=topic_portal---recommended_stories---kotlin_beginners---4-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"></a></div></div></div><div class="ab q pr ps"><div class="h k j i d"><div><div class="bm" aria-hidden="false"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2F5c2301120952&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40samarthbnsl%2Fthe-easiest-way-to-understand-and-use-coroutines-in-kotlin-5c2301120952&source=---recommended_stories---kotlin_beginners---4-84----------------bookmark_preview----72cd1481_13d1_48ac_9874_408eb25d8028-------"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 25 25" class="fz pt pu" aria-label="Add to list bookmark button"><path fill="currentColor" d="M18 2.5a.5.5 0 0 1 1 0V5h2.5a.5.5 0 0 1 0 1H19v2.5a.5.5 0 1 1-1 0V6h-2.5a.5.5 0 0 1 0-1H18zM7 7a1 1 0 0 1 1-1h3.5a.5.5 0 0 0 0-1H8a2 2 0 0 0-2 2v14a.5.5 0 0 0 .805.396L12.5 17l5.695 4.396A.5.5 0 0 0 19 21v-8.5a.5.5 0 0 0-1 0v7.485l-5.195-4.012a.5.5 0 0 0-.61 0L7 19.985z"></path></svg></a></span></div></div></div></div></div></span></div></div></div></div><div class="qz"><span class="bf b ga z fz"><div class="pl ab pm ae"><div class="ab q pq">22h ago<div class="h k j i d"><div class="hn pn do ab q"><div class="hw po pp ab q pq"><div class="ax do du l cv"></div></div><a class="hw ji pp ab q pq" tabindex="-1" rel="noopener follow" href="/@samarthbnsl/the-easiest-way-to-understand-and-use-coroutines-in-kotlin-5c2301120952?source=topic_portal---recommended_stories---kotlin_beginners---4-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"></a></div></div></div><div class="ab q pr ps"><div class="h k j i d"><div><div class="bm" aria-hidden="false"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2F5c2301120952&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40samarthbnsl%2Fthe-easiest-way-to-understand-and-use-coroutines-in-kotlin-5c2301120952&source=---recommended_stories---kotlin_beginners---4-84----------------bookmark_preview----72cd1481_13d1_48ac_9874_408eb25d8028-------"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 25 25" class="fz pt pu" aria-label="Add to list bookmark button"><path fill="currentColor" d="M18 2.5a.5.5 0 0 1 1 0V5h2.5a.5.5 0 0 1 0 1H19v2.5a.5.5 0 1 1-1 0V6h-2.5a.5.5 0 0 1 0-1H18zM7 7a1 1 0 0 1 1-1h3.5a.5.5 0 0 0 0-1H8a2 2 0 0 0-2 2v14a.5.5 0 0 0 .805.396L12.5 17l5.695 4.396A.5.5 0 0 0 19 21v-8.5a.5.5 0 0 0-1 0v7.485l-5.195-4.012a.5.5 0 0 0-.61 0L7 19.985z"></path></svg></a></span></div></div></div></div></div></span></div></div></div><div class="lj bh r ra rb rc rd re"></div></div></div></div></div></article></div></div></div><div class="h k"><div class="mg rf rg rh ri rj rk rl"><div class="rm"><article class="gb"><div class="gb mf l"><div class="bh gb"><div class="gb l"><div class="hn gb mg mh mi mj mk ml mm mn mo ru mq rv ms" role="link" data-href="https://medium.com/@elenavanengelen/kotlin-tips-and-tricks-you-may-not-know-5-simplify-functional-composition-with-let-0ae48d91c860" tabindex="0"><div class="mt"><div aria-label="Kotlin Tips and Tricks You May Not Know: #5 — Simplify Functional Composition with let"><div class="mv mw mx i d"><img alt="Kotlin Tips and Tricks You May Not Know: #5 — Simplify Functional Composition with let" class="bh na rw rx ry rz sa nc nd bx" src="https://miro.medium.com/v2/resize:fit:1144/format:webp/1*rTFrwaUwwTN7PAUFWR3ASA.jpeg" loading="eager"/></div><div class="h k j my mz"><img alt="Kotlin Tips and Tricks You May Not Know: #5 — Simplify Functional Composition with let" class="bh na rw rx ry rz sa nc nd bx" src="https://miro.medium.com/v2/resize:fit:1144/format:webp/1*rTFrwaUwwTN7PAUFWR3ASA.jpeg" loading="eager"/></div></div></div><div class="mu ab cc db"><div class="ab db ne bh nf ng nh ni"><div class="nj nk nl nm nn ab q"><div class="cr l"><div><div class="l" aria-hidden="false"><a tabindex="-1" rel="noopener follow" href="/@elenavanengelen?source=topic_portal---recommended_stories---kotlin_beginners---0-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div class="l hn"><img alt="Elena van Engelen - Maslova" class="l hh by no np cv" src="https://miro.medium.com/v2/resize:fill:40:40/1*N-t_FroIxVl5WDVcCO45jw@2x.jpeg" width="20" height="20" loading="lazy"/><div class="hv by l no np hw n ay hx"></div></div></a></div></div></div><div><div class="l" aria-hidden="false"><a class="af ag ah ai aj ak al am an ao ap aq ar nq ab q" rel="noopener follow" href="/@elenavanengelen?source=topic_portal---recommended_stories---kotlin_beginners---0-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><p class="bf b ga z cm nr ns nt nu nv nw nx bk">Elena van Engelen - Maslova</p><div class="ny nz l"><div class="ab oa"><div class="ab"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="#437AFF" d="M15.163 8c0 .65-.459 1.144-.863 1.575-.232.244-.471.5-.563.719s-.086.543-.092.875c-.006.606-.018 1.3-.49 1.781-.47.481-1.15.494-1.744.5-.324.006-.655.013-.857.094s-.465.337-.704.575c-.422.412-.906.881-1.542.881-.637 0-1.12-.469-1.543-.881-.239-.238-.49-.482-.704-.575-.214-.094-.532-.088-.857-.094-.593-.006-1.273-.019-1.744-.5s-.484-1.175-.49-1.781c-.006-.332-.012-.669-.092-.875-.08-.207-.33-.475-.563-.719-.404-.431-.863-.925-.863-1.575s.46-1.144.863-1.575c.233-.244.472-.5.563-.719.092-.219.086-.544.092-.875.006-.606.019-1.3.49-1.781s1.15-.494 1.744-.5c.325-.006.655-.012.857-.094.202-.081.465-.337.704-.575C7.188 1.47 7.671 1 8.308 1s1.12.469 1.542.881c.239.238.49.481.704.575s.533.088.857.094c.594.006 1.273.019 1.745.5.47.481.483 1.175.49 1.781.005.331.011.669.091.875s.33.475.563.719c.404.431.863.925.863 1.575"></path><path fill="#fff" d="M7.328 10.5c.195 0 .381.08.519.22.137.141.215.331.216.53 0 .066.026.13.072.177a.24.24 0 0 0 .346 0 .25.25 0 0 0 .071-.177c.001-.199.079-.389.216-.53a.73.73 0 0 1 .519-.22h1.959c.13 0 .254-.053.346-.146a.5.5 0 0 0 .143-.354V6a.5.5 0 0 0-.143-.354.49.49 0 0 0-.346-.146h-1.47c-.324 0-.635.132-.865.366-.23.235-.359.552-.359.884v2.5c0 .066-.025.13-.071.177a.24.24 0 0 1-.346 0 .25.25 0 0 1-.072-.177v-2.5c0-.332-.13-.65-.359-.884A1.21 1.21 0 0 0 6.84 5.5h-1.47a.49.49 0 0 0-.346.146A.5.5 0 0 0 4.88 6v4c0 .133.051.26.143.354a.49.49 0 0 0 .347.146z"></path></svg></div></div></div></a></div></div></div><div class="ob l oc od oe of og oh"><div class="oi oj ok ol om on oo op"><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/@elenavanengelen/kotlin-tips-and-tricks-you-may-not-know-5-simplify-functional-composition-with-let-0ae48d91c860?source=topic_portal---recommended_stories---kotlin_beginners---0-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div title="Kotlin Tips and Tricks You May Not Know: #5 — Simplify Functional Composition with let"><h2 class="bf oq lp lq or os lr ls lt ot ou lu ov jx ow ox oy ly lz sb pb ma mb mc sc pf md cm ns nt nv nx bk">Kotlin Tips and Tricks You May Not Know: #5 — Simplify Functional Composition with let</h2></div><div class="ph l"><h3 class="bf b pi z cm pj ns nt pk nv nx fz">Improve your functional composition using the let scope function</h3></div></a></div></div><span class="bf b ga z fz"><div class="pl ab pm ae"><div class="ab q pq">10h ago<div class="h k j i d"><div class="hn pn do ab q"><div class="hw po pp ab q pq"><div class="ax do du l cv"></div></div><a class="hw ji pp ab q pq" tabindex="-1" rel="noopener follow" href="/@elenavanengelen/kotlin-tips-and-tricks-you-may-not-know-5-simplify-functional-composition-with-let-0ae48d91c860?source=topic_portal---recommended_stories---kotlin_beginners---0-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"></a></div></div></div><div class="ab q pr ps"><div class="h k j i d"><div><div class="bm" aria-hidden="false"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2F0ae48d91c860&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40elenavanengelen%2Fkotlin-tips-and-tricks-you-may-not-know-5-simplify-functional-composition-with-let-0ae48d91c860&source=---recommended_stories---kotlin_beginners---0-84----------------bookmark_preview----72cd1481_13d1_48ac_9874_408eb25d8028-------"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 25 25" class="fz pt pu" aria-label="Add to list bookmark button"><path fill="currentColor" d="M18 2.5a.5.5 0 0 1 1 0V5h2.5a.5.5 0 0 1 0 1H19v2.5a.5.5 0 1 1-1 0V6h-2.5a.5.5 0 0 1 0-1H18zM7 7a1 1 0 0 1 1-1h3.5a.5.5 0 0 0 0-1H8a2 2 0 0 0-2 2v14a.5.5 0 0 0 .805.396L12.5 17l5.695 4.396A.5.5 0 0 0 19 21v-8.5a.5.5 0 0 0-1 0v7.485l-5.195-4.012a.5.5 0 0 0-.61 0L7 19.985z"></path></svg></a></span></div></div></div></div></div></span><div class="h k j i d"><div class="lj bh r me"></div></div></div></div></div></div></div></div></article></div><div class="rn"><article class="gb"><div class="gb mf l"><div class="bh gb"><div class="gb l"><div class="hn gb mg mh mi mj mk ml mm mn mo ru mq rv ms" role="link" data-href="https://medium.com/@hunterfreas/handling-ui-events-in-jetpack-compose-a-clean-approach-c8fd1bfc6231" tabindex="0"><div class="mt"><div aria-label="Handling UI Events in Jetpack Compose: A Clean Approach"><div class="mv mw mx i d"><img alt="Handling UI Events in Jetpack Compose: A Clean Approach" class="bh na rw rx ry rz sa nc nd bx" src="https://miro.medium.com/v2/resize:fit:1144/format:webp/1*SZT3JGEmWBh_nrjZnLDVEg.jpeg" loading="eager"/></div><div class="h k j my mz"><img alt="Handling UI Events in Jetpack Compose: A Clean Approach" class="bh na rw rx ry rz sa nc nd bx" src="https://miro.medium.com/v2/resize:fit:1144/format:webp/1*SZT3JGEmWBh_nrjZnLDVEg.jpeg" loading="eager"/></div></div></div><div class="mu ab cc db"><div class="ab db ne bh nf ng nh ni"><div class="nj nk nl nm nn ab q"><div class="cr l"><div><div class="l" aria-hidden="false"><a tabindex="-1" rel="noopener follow" href="/@hunterfreas?source=topic_portal---recommended_stories---kotlin_beginners---1-107--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div class="l hn"><img alt="Hunter Freas" class="l hh by no np cv" src="https://miro.medium.com/v2/resize:fill:40:40/1*NU3kSJfPIpXuPZfekQ9BJw.jpeg" width="20" height="20" loading="lazy"/><div class="hv by l no np hw n ay hx"></div></div></a></div></div></div><div><div class="l" aria-hidden="false"><a class="af ag ah ai aj ak al am an ao ap aq ar nq ab q" rel="noopener follow" href="/@hunterfreas?source=topic_portal---recommended_stories---kotlin_beginners---1-107--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><p class="bf b ga z cm nr ns nt nu nv nw nx bk">Hunter Freas</p></a></div></div></div><div class="ob l oc od oe of og oh"><div class="oi oj ok ol om on oo op"><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/@hunterfreas/handling-ui-events-in-jetpack-compose-a-clean-approach-c8fd1bfc6231?source=topic_portal---recommended_stories---kotlin_beginners---1-107--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div title=""><h2 class="bf oq lp lq or os lr ls lt ot ou lu ov jx ow ox oy ly lz sb pb ma mb mc sc pf md cm ns nt nv nx bk">Handling UI Events in Jetpack Compose: A Clean Approach</h2></div><div class="ph l"><h3 class="bf b pi z cm pj ns nt pk nv nx fz">Explore a simple method for managing UI events in Jetpack Compose for cleaner, scalable code.</h3></div></a></div></div><span class="bf b ga z fz"><div class="pl ab pm ae"><div class="ab q pq"><span>Mar 12</span><div class="h k j i d"><div class="hn pn do ab q"><div class="hw po pp ab q pq"><div class="ax do du l cv"></div></div><a class="hw ji pp ab q pq" tabindex="-1" rel="noopener follow" href="/@hunterfreas/handling-ui-events-in-jetpack-compose-a-clean-approach-c8fd1bfc6231?source=topic_portal---recommended_stories---kotlin_beginners---1-107--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div><div class="ab" aria-hidden="false"><div class="ab q pw"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#6B6B6B" viewBox="0 0 16 16"><path fill="#6B6B6B" d="M12.344 11.458A5.28 5.28 0 0 0 14 7.526C14 4.483 11.391 2 8.051 2S2 4.483 2 7.527c0 3.051 2.712 5.526 6.059 5.526a6.6 6.6 0 0 0 1.758-.236q.255.223.554.414c.784.51 1.626.768 2.512.768a.37.37 0 0 0 .355-.214.37.37 0 0 0-.03-.384 4.7 4.7 0 0 1-.857-1.958v.014z"></path></svg><span>5</span></div></div></div></a></div></div></div><div class="ab q pr ps"><div class="h k j i d"><div><div class="bm" aria-hidden="false"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2Fc8fd1bfc6231&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40hunterfreas%2Fhandling-ui-events-in-jetpack-compose-a-clean-approach-c8fd1bfc6231&source=---recommended_stories---kotlin_beginners---1-107----------------bookmark_preview----72cd1481_13d1_48ac_9874_408eb25d8028-------"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 25 25" class="fz pt pu" aria-label="Add to list bookmark button"><path fill="currentColor" d="M18 2.5a.5.5 0 0 1 1 0V5h2.5a.5.5 0 0 1 0 1H19v2.5a.5.5 0 1 1-1 0V6h-2.5a.5.5 0 0 1 0-1H18zM7 7a1 1 0 0 1 1-1h3.5a.5.5 0 0 0 0-1H8a2 2 0 0 0-2 2v14a.5.5 0 0 0 .805.396L12.5 17l5.695 4.396A.5.5 0 0 0 19 21v-8.5a.5.5 0 0 0-1 0v7.485l-5.195-4.012a.5.5 0 0 0-.61 0L7 19.985z"></path></svg></a></span></div></div></div></div></div></span><div class="h k j i d"><div class="lj bh r me"></div></div></div></div></div></div></div></div></article></div><div class="ro"><article class="gb"><div class="gb mf l"><div class="bh gb"><div class="gb l"><div class="hn gb mg mh mi mj mk ml mm mn mo mp mq mr ms" role="link" data-href="https://medium.com/@mirzaadil/kotlin-data-types-defined-in-depth-explanation-4ebe363daf6d" tabindex="0"><div class="mt"><div aria-label="Kotlin Data Types Defined: In-Depth Explanation:"><div class="mv mw mx my mz"><img alt="Kotlin Data Types Defined: In-Depth Explanation:" class="bh na rw rx ry sd se nc nd bx" src="https://miro.medium.com/v2/resize:fit:730/format:webp/1*oNZb97GO9LxrUgO8J8ECKA.png" loading="lazy"/></div></div></div><div class="mu ab cc db"><div class="ab db ne bh nf ng nh ni"><div class="nj nk nl nm nn ab q"><div class="cr l"><div><div class="l" aria-hidden="false"><a tabindex="-1" rel="noopener follow" href="/@mirzaadil?source=topic_portal---recommended_stories---kotlin_beginners---2-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div class="l hn"><img alt="Mirza Adil" class="l hh by no np cv" src="https://miro.medium.com/v2/resize:fill:40:40/1*d9p0K9gDCJbEwFuKIctXgQ.jpeg" width="20" height="20" loading="lazy"/><div class="hv by l no np hw n ay hx"></div></div></a></div></div></div><div><div class="l" aria-hidden="false"><a class="af ag ah ai aj ak al am an ao ap aq ar nq ab q" rel="noopener follow" href="/@mirzaadil?source=topic_portal---recommended_stories---kotlin_beginners---2-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><p class="bf b ga z cm nr ns nt nu nv nw nx bk">Mirza Adil</p></a></div></div></div><div class="ob l oc od oe of og oh"><div class="oi oj ok ol om on oo op"><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/@mirzaadil/kotlin-data-types-defined-in-depth-explanation-4ebe363daf6d?source=topic_portal---recommended_stories---kotlin_beginners---2-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div title=""><h2 class="bf oq lp lq or os lr ls lt ot ou lu ov jx ow ox oy oz ka pa pb pc pd kd pe pf pg cm ns nt nv nx bk">Kotlin Data Types Defined: In-Depth Explanation:</h2></div><div class="ph l"><h3 class="bf b pi z cm pj ns nt pk nv nx fz">Kotlin is a modern programming language, created by JetBrains, that increases developer productivity and provides a safe coding approach.</h3></div></a></div></div><span class="bf b ga z fz"><div class="pl ab pm ae"><div class="ab q pq">4h ago<div class="h k j i d"><div class="hn pn do ab q"><div class="hw po pp ab q pq"><div class="ax do du l cv"></div></div><a class="hw ji pp ab q pq" tabindex="-1" rel="noopener follow" href="/@mirzaadil/kotlin-data-types-defined-in-depth-explanation-4ebe363daf6d?source=topic_portal---recommended_stories---kotlin_beginners---2-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"></a></div></div></div><div class="ab q pr ps"><div class="h k j i d"><div><div class="bm" aria-hidden="false"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2F4ebe363daf6d&operation=register&redirect=https%3A%2F%2Fmirzaadil.medium.com%2Fkotlin-data-types-defined-in-depth-explanation-4ebe363daf6d&source=---recommended_stories---kotlin_beginners---2-84----------------bookmark_preview----72cd1481_13d1_48ac_9874_408eb25d8028-------"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 25 25" class="fz pt pu" aria-label="Add to list bookmark button"><path fill="currentColor" d="M18 2.5a.5.5 0 0 1 1 0V5h2.5a.5.5 0 0 1 0 1H19v2.5a.5.5 0 1 1-1 0V6h-2.5a.5.5 0 0 1 0-1H18zM7 7a1 1 0 0 1 1-1h3.5a.5.5 0 0 0 0-1H8a2 2 0 0 0-2 2v14a.5.5 0 0 0 .805.396L12.5 17l5.695 4.396A.5.5 0 0 0 19 21v-8.5a.5.5 0 0 0-1 0v7.485l-5.195-4.012a.5.5 0 0 0-.61 0L7 19.985z"></path></svg></a></span></div></div></div></div></div></span><div class="h k j i d"><div class="lj bh r me"></div></div></div></div></div></div></div></div></article></div><div class="rp"><article class="gb"><div class="gb mf l"><div class="bh gb"><div class="gb l"><div class="hn gb mg mh mi mj mk ml mm mn mo mp mq mr ms" role="link" data-href="https://medium.com/@elenavanengelen/kotlin-tips-and-tricks-you-may-not-know-3-built-in-assertions-d26540ccb2e0" tabindex="0"><div class="mt"><div aria-label="Kotlin Tips and Tricks You May Not Know: #3 — Built-in Assertions"><div class="mv mw mx my mz"><img alt="Kotlin Tips and Tricks You May Not Know: #3 — Built-in Assertions" class="bh na rw rx ry sd se nc nd bx" src="https://miro.medium.com/v2/resize:fit:730/format:webp/1*uRaZ79MNXUMw68Uvo9djeA.png" loading="lazy"/></div></div></div><div class="mu ab cc db"><div class="ab db ne bh nf ng nh ni"><div class="nj nk nl nm nn ab q"><div class="cr l"><div><div class="l" aria-hidden="false"><a tabindex="-1" rel="noopener follow" href="/@elenavanengelen?source=topic_portal---recommended_stories---kotlin_beginners---3-85--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div class="l hn"><img alt="Elena van Engelen - Maslova" class="l hh by no np cv" src="https://miro.medium.com/v2/resize:fill:40:40/1*N-t_FroIxVl5WDVcCO45jw@2x.jpeg" width="20" height="20" loading="lazy"/><div class="hv by l no np hw n ay hx"></div></div></a></div></div></div><div><div class="l" aria-hidden="false"><a class="af ag ah ai aj ak al am an ao ap aq ar nq ab q" rel="noopener follow" href="/@elenavanengelen?source=topic_portal---recommended_stories---kotlin_beginners---3-85--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><p class="bf b ga z cm nr ns nt nu nv nw nx bk">Elena van Engelen - Maslova</p><div class="ny nz l"><div class="ab oa"><div class="ab"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="#437AFF" d="M15.163 8c0 .65-.459 1.144-.863 1.575-.232.244-.471.5-.563.719s-.086.543-.092.875c-.006.606-.018 1.3-.49 1.781-.47.481-1.15.494-1.744.5-.324.006-.655.013-.857.094s-.465.337-.704.575c-.422.412-.906.881-1.542.881-.637 0-1.12-.469-1.543-.881-.239-.238-.49-.482-.704-.575-.214-.094-.532-.088-.857-.094-.593-.006-1.273-.019-1.744-.5s-.484-1.175-.49-1.781c-.006-.332-.012-.669-.092-.875-.08-.207-.33-.475-.563-.719-.404-.431-.863-.925-.863-1.575s.46-1.144.863-1.575c.233-.244.472-.5.563-.719.092-.219.086-.544.092-.875.006-.606.019-1.3.49-1.781s1.15-.494 1.744-.5c.325-.006.655-.012.857-.094.202-.081.465-.337.704-.575C7.188 1.47 7.671 1 8.308 1s1.12.469 1.542.881c.239.238.49.481.704.575s.533.088.857.094c.594.006 1.273.019 1.745.5.47.481.483 1.175.49 1.781.005.331.011.669.091.875s.33.475.563.719c.404.431.863.925.863 1.575"></path><path fill="#fff" d="M7.328 10.5c.195 0 .381.08.519.22.137.141.215.331.216.53 0 .066.026.13.072.177a.24.24 0 0 0 .346 0 .25.25 0 0 0 .071-.177c.001-.199.079-.389.216-.53a.73.73 0 0 1 .519-.22h1.959c.13 0 .254-.053.346-.146a.5.5 0 0 0 .143-.354V6a.5.5 0 0 0-.143-.354.49.49 0 0 0-.346-.146h-1.47c-.324 0-.635.132-.865.366-.23.235-.359.552-.359.884v2.5c0 .066-.025.13-.071.177a.24.24 0 0 1-.346 0 .25.25 0 0 1-.072-.177v-2.5c0-.332-.13-.65-.359-.884A1.21 1.21 0 0 0 6.84 5.5h-1.47a.49.49 0 0 0-.346.146A.5.5 0 0 0 4.88 6v4c0 .133.051.26.143.354a.49.49 0 0 0 .347.146z"></path></svg></div></div></div></a></div></div></div><div class="ob l oc od oe of og oh"><div class="oi oj ok ol om on oo op"><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/@elenavanengelen/kotlin-tips-and-tricks-you-may-not-know-3-built-in-assertions-d26540ccb2e0?source=topic_portal---recommended_stories---kotlin_beginners---3-85--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div title=""><h2 class="bf oq lp lq or os lr ls lt ot ou lu ov jx ow ox oy oz ka pa pb pc pd kd pe pf pg cm ns nt nv nx bk">Kotlin Tips and Tricks You May Not Know: #3 — Built-in Assertions</h2></div><div class="ph l"><h3 class="bf b pi z cm pj ns nt pk nv nx fz">Effortlessly handle checks and validations in Kotlin using built-in functions</h3></div></a></div></div><span class="bf b ga z fz"><div class="pl ab pm ae"><div class="ab q pq"><span>Oct 1</span><div class="h k j i d"><div class="hn pn do ab q"><div class="hw po pp ab q pq"><div class="ax do du l cv"></div></div><a class="hw ji pp ab q pq" tabindex="-1" rel="noopener follow" href="/@elenavanengelen/kotlin-tips-and-tricks-you-may-not-know-3-built-in-assertions-d26540ccb2e0?source=topic_portal---recommended_stories---kotlin_beginners---3-85--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div><div class="ab" aria-hidden="false"><div class="ab q pw"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#6B6B6B" viewBox="0 0 16 16"><path fill="#6B6B6B" d="M12.344 11.458A5.28 5.28 0 0 0 14 7.526C14 4.483 11.391 2 8.051 2S2 4.483 2 7.527c0 3.051 2.712 5.526 6.059 5.526a6.6 6.6 0 0 0 1.758-.236q.255.223.554.414c.784.51 1.626.768 2.512.768a.37.37 0 0 0 .355-.214.37.37 0 0 0-.03-.384 4.7 4.7 0 0 1-.857-1.958v.014z"></path></svg><span>1</span></div></div></div></a></div></div></div><div class="ab q pr ps"><div class="h k j i d"><div><div class="bm" aria-hidden="false"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2Fd26540ccb2e0&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40elenavanengelen%2Fkotlin-tips-and-tricks-you-may-not-know-3-built-in-assertions-d26540ccb2e0&source=---recommended_stories---kotlin_beginners---3-85----------------bookmark_preview----72cd1481_13d1_48ac_9874_408eb25d8028-------"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 25 25" class="fz pt pu" aria-label="Add to list bookmark button"><path fill="currentColor" d="M18 2.5a.5.5 0 0 1 1 0V5h2.5a.5.5 0 0 1 0 1H19v2.5a.5.5 0 1 1-1 0V6h-2.5a.5.5 0 0 1 0-1H18zM7 7a1 1 0 0 1 1-1h3.5a.5.5 0 0 0 0-1H8a2 2 0 0 0-2 2v14a.5.5 0 0 0 .805.396L12.5 17l5.695 4.396A.5.5 0 0 0 19 21v-8.5a.5.5 0 0 0-1 0v7.485l-5.195-4.012a.5.5 0 0 0-.61 0L7 19.985z"></path></svg></a></span></div></div></div></div></div></span><div class="h k j i d"><div class="lj bh r me"></div></div></div></div></div></div></div></div></article></div><div class="rq"><article class="gb"><div class="gb mf l"><div class="bh gb"><div class="gb l"><div class="hn gb mg mh mi mj mk ml mm mn mo mp mq mr ms" role="link" data-href="https://medium.com/@samarthbnsl/the-easiest-way-to-understand-and-use-coroutines-in-kotlin-5c2301120952" tabindex="0"><div class="mt"><div aria-label="The easiest way to understand and use Coroutines in Kotlin"><div class="mv mw mx my mz"><img alt="The easiest way to understand and use Coroutines in Kotlin" class="bh na rw rx ry sd se nc nd bx" src="https://miro.medium.com/v2/resize:fit:730/format:webp/1*yuVzMhCJyDENbyhwAsrkwA.png" loading="lazy"/></div></div></div><div class="mu ab cc db"><div class="ab db ne bh nf ng nh ni"><div class="nj nk nl nm nn ab q"><div class="cr l"><div><div class="l" aria-hidden="false"><a tabindex="-1" rel="noopener follow" href="/@samarthbnsl?source=topic_portal---recommended_stories---kotlin_beginners---4-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div class="l hn"><img alt="Samarthbnsl" class="l hh by no np cv" src="https://miro.medium.com/v2/resize:fill:40:40/0*UxPdIIrJTIaAso0N" width="20" height="20" loading="lazy"/><div class="hv by l no np hw n ay hx"></div></div></a></div></div></div><div><div class="l" aria-hidden="false"><a class="af ag ah ai aj ak al am an ao ap aq ar nq ab q" rel="noopener follow" href="/@samarthbnsl?source=topic_portal---recommended_stories---kotlin_beginners---4-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><p class="bf b ga z cm nr ns nt nu nv nw nx bk">Samarthbnsl</p></a></div></div></div><div class="ob l oc od oe of og oh"><div class="oi oj ok ol om on oo op"><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/@samarthbnsl/the-easiest-way-to-understand-and-use-coroutines-in-kotlin-5c2301120952?source=topic_portal---recommended_stories---kotlin_beginners---4-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div title=""><h2 class="bf oq lp lq or os lr ls lt ot ou lu ov jx ow ox oy oz ka pa pb pc pd kd pe pf pg cm ns nt nv nx bk">The easiest way to understand and use Coroutines in Kotlin</h2></div><div class="ph l"><h3 class="bf b pi z cm pj ns nt pk nv nx fz">As soon as you start building your Android app, you might need to store some data or values that persist locally over time. Jetpack Compose…</h3></div></a></div></div><span class="bf b ga z fz"><div class="pl ab pm ae"><div class="ab q pq">22h ago<div class="h k j i d"><div class="hn pn do ab q"><div class="hw po pp ab q pq"><div class="ax do du l cv"></div></div><a class="hw ji pp ab q pq" tabindex="-1" rel="noopener follow" href="/@samarthbnsl/the-easiest-way-to-understand-and-use-coroutines-in-kotlin-5c2301120952?source=topic_portal---recommended_stories---kotlin_beginners---4-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"></a></div></div></div><div class="ab q pr ps"><div class="h k j i d"><div><div class="bm" aria-hidden="false"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2F5c2301120952&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40samarthbnsl%2Fthe-easiest-way-to-understand-and-use-coroutines-in-kotlin-5c2301120952&source=---recommended_stories---kotlin_beginners---4-84----------------bookmark_preview----72cd1481_13d1_48ac_9874_408eb25d8028-------"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 25 25" class="fz pt pu" aria-label="Add to list bookmark button"><path fill="currentColor" d="M18 2.5a.5.5 0 0 1 1 0V5h2.5a.5.5 0 0 1 0 1H19v2.5a.5.5 0 1 1-1 0V6h-2.5a.5.5 0 0 1 0-1H18zM7 7a1 1 0 0 1 1-1h3.5a.5.5 0 0 0 0-1H8a2 2 0 0 0-2 2v14a.5.5 0 0 0 .805.396L12.5 17l5.695 4.396A.5.5 0 0 0 19 21v-8.5a.5.5 0 0 0-1 0v7.485l-5.195-4.012a.5.5 0 0 0-.61 0L7 19.985z"></path></svg></a></span></div></div></div></div></div></span><div class="h k j i d"><div class="lj bh r me"></div></div></div></div></div></div></div></div></article></div><div class="rr"><article class="gb"><div class="gb mf l"><div class="bh gb"><div class="gb l"><div class="hn gb mg mh mi mj mk ml mm mn mo mp mq mr ms" role="link" data-href="https://medium.com/@jpmtech/navigation-in-jetpack-compose-c9e1fcfd2cdd" tabindex="0"><div class="mt"><div aria-label="The Text of Navigation In Jetpack Compose with a shuffle emoji and a robot emoji on either side of the text"><div class="mv mw mx my mz"><img alt="The Text of Navigation In Jetpack Compose with a shuffle emoji and a robot emoji on either side of the text" class="bh na rw rx ry sd se nc nd bx" src="https://miro.medium.com/v2/resize:fit:730/format:webp/1*bWucN3UYi0wF1yBQCMav-g.png" loading="lazy"/></div></div></div><div class="mu ab cc db"><div class="ab db ne bh nf ng nh ni"><div class="nj nk nl nm nn ab q"><div class="cr l"><div><div class="l" aria-hidden="false"><a tabindex="-1" rel="noopener follow" href="/@jpmtech?source=topic_portal---recommended_stories---kotlin_beginners---5-85--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div class="l hn"><img alt="Chase" class="l hh by no np cv" src="https://miro.medium.com/v2/resize:fill:40:40/1*mYfG5N898gEyAgzyzW1YkA.jpeg" width="20" height="20" loading="lazy"/><div class="hv by l no np hw n ay hx"></div></div></a></div></div></div><div><div class="l" aria-hidden="false"><a class="af ag ah ai aj ak al am an ao ap aq ar nq ab q" rel="noopener follow" href="/@jpmtech?source=topic_portal---recommended_stories---kotlin_beginners---5-85--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><p class="bf b ga z cm nr ns nt nu nv nw nx bk">Chase</p></a></div></div></div><div class="ob l oc od oe of og oh"><div class="oi oj ok ol om on oo op"><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/@jpmtech/navigation-in-jetpack-compose-c9e1fcfd2cdd?source=topic_portal---recommended_stories---kotlin_beginners---5-85--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div title=""><h2 class="bf oq lp lq or os lr ls lt ot ou lu ov jx ow ox oy oz ka pa pb pc pd kd pe pf pg cm ns nt nv nx bk">Navigation in Jetpack Compose</h2></div><div class="ph l"><h3 class="bf b pi z cm pj ns nt pk nv nx fz">Navigation in Jetpack Compose has always been on of those things that was just hard for me to wrap my head around for some reason. I was…</h3></div></a></div></div><span class="bf b ga z fz"><div class="pl ab pm ae"><div class="ab q pq"><span>May 1</span><div class="h k j i d"><div class="hn pn do ab q"><div class="hw po pp ab q pq"><div class="ax do du l cv"></div></div><a class="hw ji pp ab q pq" tabindex="-1" rel="noopener follow" href="/@jpmtech/navigation-in-jetpack-compose-c9e1fcfd2cdd?source=topic_portal---recommended_stories---kotlin_beginners---5-85--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div><div class="ab" aria-hidden="false"><div class="ab q pw"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#6B6B6B" viewBox="0 0 16 16"><path fill="#6B6B6B" d="M12.344 11.458A5.28 5.28 0 0 0 14 7.526C14 4.483 11.391 2 8.051 2S2 4.483 2 7.527c0 3.051 2.712 5.526 6.059 5.526a6.6 6.6 0 0 0 1.758-.236q.255.223.554.414c.784.51 1.626.768 2.512.768a.37.37 0 0 0 .355-.214.37.37 0 0 0-.03-.384 4.7 4.7 0 0 1-.857-1.958v.014z"></path></svg><span>1</span></div></div></div></a></div></div></div><div class="ab q pr ps"><div class="h k j i d"><div><div class="bm" aria-hidden="false"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2Fc9e1fcfd2cdd&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40jpmtech%2Fnavigation-in-jetpack-compose-c9e1fcfd2cdd&source=---recommended_stories---kotlin_beginners---5-85----------------bookmark_preview----72cd1481_13d1_48ac_9874_408eb25d8028-------"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 25 25" class="fz pt pu" aria-label="Add to list bookmark button"><path fill="currentColor" d="M18 2.5a.5.5 0 0 1 1 0V5h2.5a.5.5 0 0 1 0 1H19v2.5a.5.5 0 1 1-1 0V6h-2.5a.5.5 0 0 1 0-1H18zM7 7a1 1 0 0 1 1-1h3.5a.5.5 0 0 0 0-1H8a2 2 0 0 0-2 2v14a.5.5 0 0 0 .805.396L12.5 17l5.695 4.396A.5.5 0 0 0 19 21v-8.5a.5.5 0 0 0-1 0v7.485l-5.195-4.012a.5.5 0 0 0-.61 0L7 19.985z"></path></svg></a></span></div></div></div></div></div></span><div class="h k j i d"><div class="lj bh r me"></div></div></div></div></div></div></div></div></article></div><div class="rs"><article class="gb"><div class="gb mf l"><div class="bh gb"><div class="gb l"><div class="hn gb mg mh mi mj mk ml mm mn mo mp mq mr ms" role="link" data-href="https://medium.com/write-a-catalyst/kotlin-for-modern-android-apps-1d8b13a8525d" tabindex="0"><div class="mt"><div aria-label="Kotlin for Modern Android Apps"><div class="mv mw mx my mz"><img alt="Kotlin for Modern Android Apps" class="bh na rw rx ry sd se nc nd bx" src="https://miro.medium.com/v2/resize:fit:730/format:webp/0*832J-q31Eu9LVI7L" loading="lazy"/></div></div></div><div class="mu ab cc db"><div class="ab db ne bh nf ng nh ni"><div class="nj nk nl nm nn ab q"><div class="cr l"><div><div class="l" aria-hidden="false"><a href="https://medium.com/write-a-catalyst?source=topic_portal---recommended_stories---kotlin_beginners---6-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------" rel="noopener follow"><div class="hn ab"><img alt="Write A Catalyst" class="na np no cv" src="https://miro.medium.com/v2/resize:fill:40:40/1*KCHN5TM3Ga2PqZHA4hNbaw.png" width="20" height="20" loading="lazy"/><div class="na l no np hw n hv hx"></div></div></a></div></div></div><div class="sf l"><p class="bf b ga z fz">In</p></div><div class="l"><div><div class="l" aria-hidden="false"><a class="af ag ah ai aj ak al am an ao ap aq ar nq ab q" href="https://medium.com/write-a-catalyst?source=topic_portal---recommended_stories---kotlin_beginners---6-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------" rel="noopener follow"><p class="bf b ga z cm nr ns nt nu nv nw nx bk">Write A Catalyst</p></a></div></div></div><div class="sg l"><p class="bf b ga z fz">by</p></div><div><div class="l" aria-hidden="false"><a class="af ag ah ai aj ak al am an ao ap aq ar nq ab q" rel="noopener follow" href="/@amirhamjahcomputer?source=topic_portal---recommended_stories---kotlin_beginners---6-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><p class="bf b ga z cm nr ns nt nu nv nw nx bk">Amir Hamjah</p></a></div></div></div><div class="ob l oc od oe of og oh"><div class="oi oj ok ol om on oo op"><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/write-a-catalyst/kotlin-for-modern-android-apps-1d8b13a8525d?source=topic_portal---recommended_stories---kotlin_beginners---6-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div title=""><h2 class="bf oq lp lq or os lr ls lt ot ou lu ov jx ow ox oy oz ka pa pb pc pd kd pe pf pg cm ns nt nv nx bk">Kotlin for Modern Android Apps</h2></div><div class="ph l"><h3 class="bf b pi z cm pj ns nt pk nv nx fz">Developer’s Guide</h3></div></a></div></div><span class="bf b ga z fz"><div class="pl ab pm ae"><div class="ab q pq"><div class="mf ab"><div class="bm" aria-hidden="false"><button class="l ay ao am" aria-label="Member-only story"><div class=""><div><div class="bm" aria-hidden="false"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 64 64"><path fill="#FFC017" d="m39.637 40.831-5.771 15.871a1.99 1.99 0 0 1-3.732 0l-5.771-15.87a2.02 2.02 0 0 0-1.194-1.195L7.298 33.866a1.99 1.99 0 0 1 0-3.732l15.87-5.771a2.02 2.02 0 0 0 1.195-1.194l5.771-15.871a1.99 1.99 0 0 1 3.732 0l5.771 15.87a2.02 2.02 0 0 0 1.194 1.195l15.871 5.771a1.99 1.99 0 0 1 0 3.732l-15.87 5.771a2.02 2.02 0 0 0-1.195 1.194"></path></svg></div></div></div></button></div></div>1d ago<div class="h k j i d"><div class="hn pn do ab q"><div class="hw po pp ab q pq"><div class="ax do du l cv"></div></div><a class="hw ji pp ab q pq" tabindex="-1" rel="noopener follow" href="/write-a-catalyst/kotlin-for-modern-android-apps-1d8b13a8525d?source=topic_portal---recommended_stories---kotlin_beginners---6-84--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"></a></div></div></div><div class="ab q pr ps"><div class="h k j i d"><div><div class="bm" aria-hidden="false"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2F1d8b13a8525d&operation=register&redirect=https%3A%2F%2Fmedium.com%2Fwrite-a-catalyst%2Fkotlin-for-modern-android-apps-1d8b13a8525d&source=---recommended_stories---kotlin_beginners---6-84----------------bookmark_preview----72cd1481_13d1_48ac_9874_408eb25d8028-------"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 25 25" class="fz pt pu" aria-label="Add to list bookmark button"><path fill="currentColor" d="M18 2.5a.5.5 0 0 1 1 0V5h2.5a.5.5 0 0 1 0 1H19v2.5a.5.5 0 1 1-1 0V6h-2.5a.5.5 0 0 1 0-1H18zM7 7a1 1 0 0 1 1-1h3.5a.5.5 0 0 0 0-1H8a2 2 0 0 0-2 2v14a.5.5 0 0 0 .805.396L12.5 17l5.695 4.396A.5.5 0 0 0 19 21v-8.5a.5.5 0 0 0-1 0v7.485l-5.195-4.012a.5.5 0 0 0-.61 0L7 19.985z"></path></svg></a></span></div></div></div></div></div></span><div class="h k j i d"><div class="lj bh r me"></div></div></div></div></div></div></div></div></article></div><div class="rt"><article class="gb"><div class="gb mf l"><div class="bh gb"><div class="gb l"><div class="hn gb mg mh mi mj mk ml mm mn mo mp mq mr ms" role="link" data-href="https://medium.com/@halilozel1903/kotlin-dirty-code-vs-clean-code-ba470c07177b" tabindex="0"><div class="mt"><div aria-label="Kotlin: Dirty Code vs. Clean Code"><div class="mv mw mx my mz"><img alt="Kotlin: Dirty Code vs. Clean Code" class="bh na rw rx ry sd se nc nd bx" src="https://miro.medium.com/v2/resize:fit:730/format:webp/1*RJwmtv3r_cUPBDlo_OKsFA.jpeg" loading="lazy"/></div></div></div><div class="mu ab cc db"><div class="ab db ne bh nf ng nh ni"><div class="nj nk nl nm nn ab q"><div class="cr l"><div><div class="l" aria-hidden="false"><a tabindex="-1" rel="noopener follow" href="/@halilozel1903?source=topic_portal---recommended_stories---kotlin_beginners---7-85--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div class="l hn"><img alt="Halil Özel" class="l hh by no np cv" src="https://miro.medium.com/v2/resize:fill:40:40/1*b3An1nfqfJUAF_Iu_YpqkQ.png" width="20" height="20" loading="lazy"/><div class="hv by l no np hw n ay hx"></div></div></a></div></div></div><div><div class="l" aria-hidden="false"><a class="af ag ah ai aj ak al am an ao ap aq ar nq ab q" rel="noopener follow" href="/@halilozel1903?source=topic_portal---recommended_stories---kotlin_beginners---7-85--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><p class="bf b ga z cm nr ns nt nu nv nw nx bk">Halil Özel</p></a></div></div></div><div class="ob l oc od oe of og oh"><div class="oi oj ok ol om on oo op"><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/@halilozel1903/kotlin-dirty-code-vs-clean-code-ba470c07177b?source=topic_portal---recommended_stories---kotlin_beginners---7-85--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div title=""><h2 class="bf oq lp lq or os lr ls lt ot ou lu ov jx ow ox oy oz ka pa pb pc pd kd pe pf pg cm ns nt nv nx bk">Kotlin: Dirty Code vs. Clean Code</h2></div><div class="ph l"><h3 class="bf b pi z cm pj ns nt pk nv nx fz">Hey Folks, Today we will see with examples how to write dirty and clean code in Kotlin. We can write cleaner codes to improve ourselves and…</h3></div></a></div></div><span class="bf b ga z fz"><div class="pl ab pm ae"><div class="ab q pq"><div class="mf ab"><div class="bm" aria-hidden="false"><button class="l ay ao am" aria-label="Member-only story"><div class=""><div><div class="bm" aria-hidden="false"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 64 64"><path fill="#FFC017" d="m39.637 40.831-5.771 15.871a1.99 1.99 0 0 1-3.732 0l-5.771-15.87a2.02 2.02 0 0 0-1.194-1.195L7.298 33.866a1.99 1.99 0 0 1 0-3.732l15.87-5.771a2.02 2.02 0 0 0 1.195-1.194l5.771-15.871a1.99 1.99 0 0 1 3.732 0l5.771 15.87a2.02 2.02 0 0 0 1.194 1.195l15.871 5.771a1.99 1.99 0 0 1 0 3.732l-15.87 5.771a2.02 2.02 0 0 0-1.195 1.194"></path></svg></div></div></div></button></div></div><span>Jul 31</span><div class="h k j i d"><div class="hn pn do ab q"><div class="hw po pp ab q pq"><div class="ax do du l cv"></div></div><a class="hw ji pp ab q pq" tabindex="-1" rel="noopener follow" href="/@halilozel1903/kotlin-dirty-code-vs-clean-code-ba470c07177b?source=topic_portal---recommended_stories---kotlin_beginners---7-85--------------------72cd1481_13d1_48ac_9874_408eb25d8028-------"><div><div class="ab" aria-hidden="false"><div class="ab q pw"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#6B6B6B" viewBox="0 0 16 16"><path fill="#6B6B6B" d="M12.344 11.458A5.28 5.28 0 0 0 14 7.526C14 4.483 11.391 2 8.051 2S2 4.483 2 7.527c0 3.051 2.712 5.526 6.059 5.526a6.6 6.6 0 0 0 1.758-.236q.255.223.554.414c.784.51 1.626.768 2.512.768a.37.37 0 0 0 .355-.214.37.37 0 0 0-.03-.384 4.7 4.7 0 0 1-.857-1.958v.014z"></path></svg><span>3</span></div></div></div></a></div></div></div><div class="ab q pr ps"><div class="h k j i d"><div><div class="bm" aria-hidden="false"><span><a class="af ag ah ai aj ak al am an ao ap aq ar as at" rel="noopener follow" href="/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2Fba470c07177b&operation=register&redirect=https%3A%2F%2Fhalilozel1903.medium.com%2Fkotlin-dirty-code-vs-clean-code-ba470c07177b&source=---recommended_stories---kotlin_beginners---7-85----------------bookmark_preview----72cd1481_13d1_48ac_9874_408eb25d8028-------"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 25 25" class="fz pt pu" aria-label="Add to list bookmark button"><path fill="currentColor" d="M18 2.5a.5.5 0 0 1 1 0V5h2.5a.5.5 0 0 1 0 1H19v2.5a.5.5 0 1 1-1 0V6h-2.5a.5.5 0 0 1 0-1H18zM7 7a1 1 0 0 1 1-1h3.5a.5.5 0 0 0 0-1H8a2 2 0 0 0-2 2v14a.5.5 0 0 0 .805.396L12.5 17l5.695 4.396A.5.5 0 0 0 19 21v-8.5a.5.5 0 0 0-1 0v7.485l-5.195-4.012a.5.5 0 0 0-.61 0L7 19.985z"></path></svg></a></span></div></div></div></div></div></span><div class="h k j i d"><div class="lj bh r me"></div></div></div></div></div></div></div></div></article></div></div></div><div class="sh si sj sk sl l"><a class="bf b bg z bk jc sm sn so pt sp lf gz ha hb sq sr ss he st hf hg hh bm hi hj" rel="noopener follow" href="/tag/kotlin-beginners/recommended?source=topic_portal------kotlin_beginners-------------------------------"><div class="l hj">See more recommended stories</div></a></div></div></div><div class="l hw n je su jo sv sw"></div></div></div></div></div><script>window.__BUILD_ID__="main-20241122-185319-7bcdc08639"</script><script>window.__GRAPHQL_URI__ = "https://medium.com/_/graphql"</script><script>window.__PRELOADED_STATE__ = {"algolia":{"queries":{}},"cache":{"experimentGroupSet":true,"reason":"","group":"enabled","tags":["group-edgeCacheTags","tag-kotlin-beginners"],"serverVariantState":"44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a","middlewareEnabled":true,"cacheStatus":"DYNAMIC","shouldUseCache":true,"vary":[],"lohpSummerUpsellEnabled":false,"publicationHierarchyEnabledWeb":false,"postBottomResponsesEnabled":false},"client":{"hydrated":false,"isUs":false,"isNativeMedium":false,"isSafariMobile":false,"isSafari":false,"isFirefox":false,"routingEntity":{"type":"DEFAULT","explicit":false},"viewerIsBot":false},"debug":{"requestId":"fb571d12-7796-4508-aac4-57e9fc1095e3","hybridDevServices":[],"originalSpanCarrier":{"traceparent":"00-fd9e261f33035ccfd1d61a121846575f-af0fbcff4a882995-01"}},"multiVote":{"clapsPerPost":{}},"navigation":{"branch":{"show":null,"hasRendered":null,"blockedByCTA":false},"hideGoogleOneTap":false,"hasRenderedAlternateUserBanner":null,"currentLocation":"https:\u002F\u002Fmedium.com\u002Ftag\u002Fkotlin-beginners","host":"medium.com","hostname":"medium.com","referrer":"","hasSetReferrer":false,"susiModal":{"step":null,"operation":"register"},"postRead":false,"partnerProgram":{"selectedCountryCode":null},"queryString":"","currentHash":""},"config":{"nodeEnv":"production","version":"main-20241122-185319-7bcdc08639","target":"production","productName":"Medium","publicUrl":"https:\u002F\u002Fcdn-client.medium.com\u002Flite","authDomain":"medium.com","authGoogleClientId":"216296035834-k1k6qe060s2tp2a2jam4ljdcms00sttg.apps.googleusercontent.com","favicon":"production","glyphUrl":"https:\u002F\u002Fglyph.medium.com","branchKey":"key_live_ofxXr2qTrrU9NqURK8ZwEhknBxiI6KBm","algolia":{"appId":"MQ57UUUQZ2","apiKeySearch":"394474ced050e3911ae2249ecc774921","indexPrefix":"medium_","host":"-dsn.algolia.net"},"recaptchaKey":"6Lfc37IUAAAAAKGGtC6rLS13R1Hrw_BqADfS1LRk","recaptcha3Key":"6Lf8R9wUAAAAABMI_85Wb8melS7Zj6ziuf99Yot5","recaptchaEnterpriseKeyId":"6Le-uGgpAAAAAPprRaokM8AKthQ9KNGdoxaGUvVp","datadog":{"applicationId":"6702d87d-a7e0-42fe-bbcb-95b469547ea0","clientToken":"pub853ea8d17ad6821d9f8f11861d23dfed","rumToken":"pubf9cc52896502b9413b68ba36fc0c7162","context":{"deployment":{"target":"production","tag":"main-20241122-185319-7bcdc08639","commit":"7bcdc08639c179dc5172558201a3fd3abc1b5db6"}},"datacenter":"us"},"googleAnalyticsCode":"G-7JY7T788PK","googlePay":{"apiVersion":"2","apiVersionMinor":"0","merchantId":"BCR2DN6TV7EMTGBM","merchantName":"Medium","instanceMerchantId":"13685562959212738550"},"applePay":{"version":3},"signInWallCustomDomainCollectionIds":["3a8144eabfe3","336d898217ee","61061eb0c96b","138adf9c44c","819cc2aaeee0"],"mediumMastodonDomainName":"me.dm","mediumOwnedAndOperatedCollectionIds":["8a9336e5bb4","b7e45b22fec3","193b68bd4fba","8d6b8a439e32","54c98c43354d","3f6ecf56618","d944778ce714","92d2092dc598","ae2a65f35510","1285ba81cada","544c7006046e","fc8964313712","40187e704f1c","88d9857e584e","7b6769f2748b","bcc38c8f6edf","cef6983b292","cb8577c9149e","444d13b52878","713d7dbc99b0","ef8e90590e66","191186aaafa0","55760f21cdc5","9dc80918cc93","bdc4052bbdba","8ccfed20cbb2"],"tierOneDomains":["medium.com","thebolditalic.com","arcdigital.media","towardsdatascience.com","uxdesign.cc","codeburst.io","psiloveyou.xyz","writingcooperative.com","entrepreneurshandbook.co","prototypr.io","betterhumans.coach.me","theascent.pub"],"topicsToFollow":["d61cf867d93f","8a146bc21b28","1eca0103fff3","4d562ee63426","aef1078a3ef5","e15e46793f8d","6158eb913466","55f1c20aba7a","3d18b94f6858","4861fee224fd","63c6f1f93ee","1d98b3a9a871","decb52b64abf","ae5d4995e225","830cded25262"],"topicToTagMappings":{"accessibility":"accessibility","addiction":"addiction","android-development":"android-development","art":"art","artificial-intelligence":"artificial-intelligence","astrology":"astrology","basic-income":"basic-income","beauty":"beauty","biotech":"biotech","blockchain":"blockchain","books":"books","business":"business","cannabis":"cannabis","cities":"cities","climate-change":"climate-change","comics":"comics","coronavirus":"coronavirus","creativity":"creativity","cryptocurrency":"cryptocurrency","culture":"culture","cybersecurity":"cybersecurity","data-science":"data-science","design":"design","digital-life":"digital-life","disability":"disability","economy":"economy","education":"education","equality":"equality","family":"family","feminism":"feminism","fiction":"fiction","film":"film","fitness":"fitness","food":"food","freelancing":"freelancing","future":"future","gadgets":"gadgets","gaming":"gaming","gun-control":"gun-control","health":"health","history":"history","humor":"humor","immigration":"immigration","ios-development":"ios-development","javascript":"javascript","justice":"justice","language":"language","leadership":"leadership","lgbtqia":"lgbtqia","lifestyle":"lifestyle","machine-learning":"machine-learning","makers":"makers","marketing":"marketing","math":"math","media":"media","mental-health":"mental-health","mindfulness":"mindfulness","money":"money","music":"music","neuroscience":"neuroscience","nonfiction":"nonfiction","outdoors":"outdoors","parenting":"parenting","pets":"pets","philosophy":"philosophy","photography":"photography","podcasts":"podcast","poetry":"poetry","politics":"politics","privacy":"privacy","product-management":"product-management","productivity":"productivity","programming":"programming","psychedelics":"psychedelics","psychology":"psychology","race":"race","relationships":"relationships","religion":"religion","remote-work":"remote-work","san-francisco":"san-francisco","science":"science","self":"self","self-driving-cars":"self-driving-cars","sexuality":"sexuality","social-media":"social-media","society":"society","software-engineering":"software-engineering","space":"space","spirituality":"spirituality","sports":"sports","startups":"startup","style":"style","technology":"technology","transportation":"transportation","travel":"travel","true-crime":"true-crime","tv":"tv","ux":"ux","venture-capital":"venture-capital","visual-design":"visual-design","work":"work","world":"world","writing":"writing"},"defaultImages":{"avatar":{"imageId":"1*dmbNkD5D-u45r44go_cf0g.png","height":150,"width":150},"orgLogo":{"imageId":"7*V1_7XP4snlmqrc_0Njontw.png","height":110,"width":500},"postLogo":{"imageId":"bd978bb536350a710e8efb012513429cabdc4c28700604261aeda246d0f980b7","height":810,"width":1440},"postPreviewImage":{"imageId":"1*hn4v1tCaJy7cWMyb0bpNpQ.png","height":386,"width":579}},"collectionStructuredData":{"8d6b8a439e32":{"name":"Elemental","data":{"@type":"NewsMediaOrganization","ethicsPolicy":"https:\u002F\u002Fhelp.medium.com\u002Fhc\u002Fen-us\u002Farticles\u002F360043290473","logo":{"@type":"ImageObject","url":"https:\u002F\u002Fcdn-images-1.medium.com\u002Fmax\u002F980\u002F1*9ygdqoKprhwuTVKUM0DLPA@2x.png","width":980,"height":159}}},"3f6ecf56618":{"name":"Forge","data":{"@type":"NewsMediaOrganization","ethicsPolicy":"https:\u002F\u002Fhelp.medium.com\u002Fhc\u002Fen-us\u002Farticles\u002F360043290473","logo":{"@type":"ImageObject","url":"https:\u002F\u002Fcdn-images-1.medium.com\u002Fmax\u002F596\u002F1*uULpIlImcO5TDuBZ6lm7Lg@2x.png","width":596,"height":183}}},"ae2a65f35510":{"name":"GEN","data":{"@type":"NewsMediaOrganization","ethicsPolicy":"https:\u002F\u002Fhelp.medium.com\u002Fhc\u002Fen-us\u002Farticles\u002F360043290473","logo":{"@type":"ImageObject","url":"https:\u002F\u002Fmiro.medium.com\u002Fmax\u002F264\u002F1*RdVZMdvfV3YiZTw6mX7yWA.png","width":264,"height":140}}},"88d9857e584e":{"name":"LEVEL","data":{"@type":"NewsMediaOrganization","ethicsPolicy":"https:\u002F\u002Fhelp.medium.com\u002Fhc\u002Fen-us\u002Farticles\u002F360043290473","logo":{"@type":"ImageObject","url":"https:\u002F\u002Fmiro.medium.com\u002Fmax\u002F540\u002F1*JqYMhNX6KNNb2UlqGqO2WQ.png","width":540,"height":108}}},"7b6769f2748b":{"name":"Marker","data":{"@type":"NewsMediaOrganization","ethicsPolicy":"https:\u002F\u002Fhelp.medium.com\u002Fhc\u002Fen-us\u002Farticles\u002F360043290473","logo":{"@type":"ImageObject","url":"https:\u002F\u002Fcdn-images-1.medium.com\u002Fmax\u002F383\u002F1*haCUs0wF6TgOOvfoY-jEoQ@2x.png","width":383,"height":92}}},"444d13b52878":{"name":"OneZero","data":{"@type":"NewsMediaOrganization","ethicsPolicy":"https:\u002F\u002Fhelp.medium.com\u002Fhc\u002Fen-us\u002Farticles\u002F360043290473","logo":{"@type":"ImageObject","url":"https:\u002F\u002Fmiro.medium.com\u002Fmax\u002F540\u002F1*cw32fIqCbRWzwJaoQw6BUg.png","width":540,"height":123}}},"8ccfed20cbb2":{"name":"Zora","data":{"@type":"NewsMediaOrganization","ethicsPolicy":"https:\u002F\u002Fhelp.medium.com\u002Fhc\u002Fen-us\u002Farticles\u002F360043290473","logo":{"@type":"ImageObject","url":"https:\u002F\u002Fmiro.medium.com\u002Fmax\u002F540\u002F1*tZUQqRcCCZDXjjiZ4bDvgQ.png","width":540,"height":106}}}},"embeddedPostIds":{"coronavirus":"cd3010f9d81f"},"sharedCdcMessaging":{"COVID_APPLICABLE_TAG_SLUGS":[],"COVID_APPLICABLE_TOPIC_NAMES":[],"COVID_APPLICABLE_TOPIC_NAMES_FOR_TOPIC_PAGE":[],"COVID_MESSAGES":{"tierA":{"text":"For more information on the novel coronavirus and Covid-19, visit cdc.gov.","markups":[{"start":66,"end":73,"href":"https:\u002F\u002Fwww.cdc.gov\u002Fcoronavirus\u002F2019-nCoV"}]},"tierB":{"text":"Anyone can publish on Medium per our Policies, but we don’t fact-check every story. For more info about the coronavirus, see cdc.gov.","markups":[{"start":37,"end":45,"href":"https:\u002F\u002Fhelp.medium.com\u002Fhc\u002Fen-us\u002Fcategories\u002F201931128-Policies-Safety"},{"start":125,"end":132,"href":"https:\u002F\u002Fwww.cdc.gov\u002Fcoronavirus\u002F2019-nCoV"}]},"paywall":{"text":"This article has been made free for everyone, thanks to Medium Members. For more information on the novel coronavirus and Covid-19, visit cdc.gov.","markups":[{"start":56,"end":70,"href":"https:\u002F\u002Fmedium.com\u002Fmembership"},{"start":138,"end":145,"href":"https:\u002F\u002Fwww.cdc.gov\u002Fcoronavirus\u002F2019-nCoV"}]},"unbound":{"text":"This article is free for everyone, thanks to Medium Members. For more information on the novel coronavirus and Covid-19, visit cdc.gov.","markups":[{"start":45,"end":59,"href":"https:\u002F\u002Fmedium.com\u002Fmembership"},{"start":127,"end":134,"href":"https:\u002F\u002Fwww.cdc.gov\u002Fcoronavirus\u002F2019-nCoV"}]}},"COVID_BANNER_POST_ID_OVERRIDE_WHITELIST":["3b31a67bff4a"]},"sharedVoteMessaging":{"TAGS":["politics","election-2020","government","us-politics","election","2020-presidential-race","trump","donald-trump","democrats","republicans","congress","republican-party","democratic-party","biden","joe-biden","maga"],"TOPICS":["politics","election"],"MESSAGE":{"text":"Find out more about the U.S. election results here.","markups":[{"start":46,"end":50,"href":"https:\u002F\u002Fcookpolitical.com\u002F2020-national-popular-vote-tracker"}]},"EXCLUDE_POSTS":["397ef29e3ca5"]},"embedPostRules":[],"recircOptions":{"v1":{"limit":3},"v2":{"limit":8}},"braintreeClientKey":"production_zjkj96jm_m56f8fqpf7ngnrd4","braintree":{"enabled":true,"merchantId":"m56f8fqpf7ngnrd4","merchantAccountId":{"usd":"AMediumCorporation_instant","eur":"amediumcorporation_EUR","cad":"amediumcorporation_CAD"},"publicKey":"ds2nn34bg2z7j5gd","braintreeEnvironment":"production","dashboardUrl":"https:\u002F\u002Fwww.braintreegateway.com\u002Fmerchants","gracePeriodDurationInDays":14,"mediumMembershipPlanId":{"monthly":"ce105f8c57a3","monthlyV2":"e8a5e126-792b-4ee6-8fba-d574c1b02fc5","monthlyWithTrial":"d5ee3dbe3db8","monthlyPremium":"fa741a9b47a2","yearly":"a40ad4a43185","yearlyV2":"3815d7d6-b8ca-4224-9b8c-182f9047866e","yearlyStaff":"d74fb811198a","yearlyWithTrial":"b3bc7350e5c7","yearlyPremium":"e21bd2c12166","monthlyOneYearFree":"e6c0637a-2bad-4171-ab4f-3c268633d83c","monthly25PercentOffFirstYear":"235ecc62-0cdb-49ae-9378-726cd21c504b","monthly20PercentOffFirstYear":"ba518864-9c13-4a99-91ca-411bf0cac756","monthly15PercentOffFirstYear":"594c029b-9f89-43d5-88f8-8173af4e070e","monthly10PercentOffFirstYear":"c6c7bc9a-40f2-4b51-8126-e28511d5bdb0","monthlyForStudents":"629ebe51-da7d-41fd-8293-34cd2f2030a8","yearlyOneYearFree":"78ba7be9-0d9f-4ece-aa3e-b54b826f2bf1","yearly25PercentOffFirstYear":"2dbb010d-bb8f-4eeb-ad5c-a08509f42d34","yearly20PercentOffFirstYear":"47565488-435b-47f8-bf93-40d5fbe0ebc8","yearly15PercentOffFirstYear":"8259809b-0881-47d9-acf7-6c001c7f720f","yearly10PercentOffFirstYear":"9dd694fb-96e1-472c-8d9e-3c868d5c1506","yearlyForStudents":"e29345ef-ab1c-4234-95c5-70e50fe6bc23","monthlyCad":"p52orjkaceei","yearlyCad":"h4q9g2up9ktt"},"braintreeDiscountId":{"oneMonthFree":"MONTHS_FREE_01","threeMonthsFree":"MONTHS_FREE_03","sixMonthsFree":"MONTHS_FREE_06","fiftyPercentOffOneYear":"FIFTY_PERCENT_OFF_ONE_YEAR"},"3DSecureVersion":"2","defaultCurrency":"usd","providerPlanIdCurrency":{"4ycw":"usd","rz3b":"usd","3kqm":"usd","jzw6":"usd","c2q2":"usd","nnsw":"usd","q8qw":"usd","d9y6":"usd","fx7w":"cad","nwf2":"cad"}},"paypalClientId":"AXj1G4fotC2GE8KzWX9mSxCH1wmPE3nJglf4Z2ig_amnhvlMVX87otaq58niAg9iuLktVNF_1WCMnN7v","paypal":{"host":"https:\u002F\u002Fapi.paypal.com:443","clientMode":"production","serverMode":"live","webhookId":"4G466076A0294510S","monthlyPlan":{"planId":"P-9WR0658853113943TMU5FDQA","name":"Medium Membership (Monthly) with setup fee","description":"Unlimited access to the best and brightest stories on Medium. Membership billed monthly."},"yearlyPlan":{"planId":"P-7N8963881P8875835MU5JOPQ","name":"Medium Membership (Annual) with setup fee","description":"Unlimited access to the best and brightest stories on Medium. Membership billed annually."},"oneYearGift":{"name":"Medium Membership (1 Year, Digital Gift Code)","description":"Unlimited access to the best and brightest stories on Medium. Gift codes can be redeemed at medium.com\u002Fredeem.","price":"50.00","currency":"USD","sku":"membership-gift-1-yr"},"oldMonthlyPlan":{"planId":"P-96U02458LM656772MJZUVH2Y","name":"Medium Membership (Monthly)","description":"Unlimited access to the best and brightest stories on Medium. Membership billed monthly."},"oldYearlyPlan":{"planId":"P-59P80963JF186412JJZU3SMI","name":"Medium Membership (Annual)","description":"Unlimited access to the best and brightest stories on Medium. Membership billed annually."},"monthlyPlanWithTrial":{"planId":"P-66C21969LR178604GJPVKUKY","name":"Medium Membership (Monthly) with setup fee","description":"Unlimited access to the best and brightest stories on Medium. Membership billed monthly."},"yearlyPlanWithTrial":{"planId":"P-6XW32684EX226940VKCT2MFA","name":"Medium Membership (Annual) with setup fee","description":"Unlimited access to the best and brightest stories on Medium. Membership billed annually."},"oldMonthlyPlanNoSetupFee":{"planId":"P-4N046520HR188054PCJC7LJI","name":"Medium Membership (Monthly)","description":"Unlimited access to the best and brightest stories on Medium. Membership billed monthly."},"oldYearlyPlanNoSetupFee":{"planId":"P-7A4913502Y5181304CJEJMXQ","name":"Medium Membership (Annual)","description":"Unlimited access to the best and brightest stories on Medium. Membership billed annually."},"sdkUrl":"https:\u002F\u002Fwww.paypal.com\u002Fsdk\u002Fjs"},"stripePublishableKey":"pk_live_7FReX44VnNIInZwrIIx6ghjl","log":{"json":true,"level":"info"},"imageUploadMaxSizeMb":25,"staffPicks":{"title":"Staff Picks","catalogId":"c7bc6e1ee00f"}},"session":{"xsrf":""}}</script><script>window.__APOLLO_STATE__ = {"ROOT_QUERY":{"__typename":"Query","viewer":null,"collectionByDomainOrSlug({\"domainOrSlug\":\"medium.com\"})":null,"tagFromSlug({\"tagSlug\":\"kotlin-beginners\"})":{"__ref":"Tag:kotlin-beginners"},"relatedTags({\"tagSlug\":\"kotlin-beginners\"})":[{"__ref":"Tag:kotlin"},{"__ref":"Tag:android"},{"__ref":"Tag:android-app-development"},{"__ref":"Tag:programming"},{"__ref":"Tag:androiddev"},{"__ref":"Tag:java"},{"__ref":"Tag:kotlin-coroutines"},{"__ref":"Tag:kotlin-native"},{"__ref":"Tag:kotlin-multiplatform"}]},"ImageMetadata:1*rTFrwaUwwTN7PAUFWR3ASA.jpeg":{"__typename":"ImageMetadata","id":"1*rTFrwaUwwTN7PAUFWR3ASA.jpeg","focusPercentX":null,"focusPercentY":null,"alt":null},"User:c55a3d9e212a":{"__typename":"User","id":"c55a3d9e212a","name":"Elena van Engelen - Maslova","viewerEdge":{"__ref":"UserViewerEdge:userId:c55a3d9e212a-viewerId:lo_dce6ad329afc"},"verifications":{"__typename":"VerifiedInfo","isBookAuthor":true},"customDomainState":null,"hasSubdomain":false,"username":"elenavanengelen","bio":"Independent Software Engineer, Speaker, Author https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Felena-van-engelen-maslova\u002F","imageId":"1*N-t_FroIxVl5WDVcCO45jw@2x.jpeg","membership":{"__ref":"Membership:bf72cecb50d3"}},"UserViewerEdge:userId:c55a3d9e212a-viewerId:lo_dce6ad329afc":{"__typename":"UserViewerEdge","id":"userId:c55a3d9e212a-viewerId:lo_dce6ad329afc","isMuting":false},"Membership:bf72cecb50d3":{"__typename":"Membership","tier":"MEMBER","id":"bf72cecb50d3"},"Post:0ae48d91c860":{"__typename":"Post","id":"0ae48d91c860","title":"Kotlin Tips and Tricks You May Not Know: #5 — Simplify Functional Composition with let","previewImage":{"__ref":"ImageMetadata:1*rTFrwaUwwTN7PAUFWR3ASA.jpeg"},"extendedPreviewContent":{"__typename":"PreviewContent","subtitle":"Improve your functional composition using the let scope function","isFullContent":false},"creator":{"__ref":"User:c55a3d9e212a"},"isPublished":true,"mediumUrl":"https:\u002F\u002Fmedium.com\u002F@elenavanengelen\u002Fkotlin-tips-and-tricks-you-may-not-know-5-simplify-functional-composition-with-let-0ae48d91c860","collection":null,"isLimitedState":false,"allowResponses":true,"postResponses":{"__typename":"PostResponses","count":0},"visibility":"PUBLIC","clapCount":1,"isLocked":false,"firstPublishedAt":1732353599682,"latestPublishedAt":1732370378621,"pinnedAt":0,"readingTime":3.547169811320755,"sequence":null,"isSeries":false,"uniqueSlug":"kotlin-tips-and-tricks-you-may-not-know-5-simplify-functional-composition-with-let-0ae48d91c860"},"ImageMetadata:1*SZT3JGEmWBh_nrjZnLDVEg.jpeg":{"__typename":"ImageMetadata","id":"1*SZT3JGEmWBh_nrjZnLDVEg.jpeg","focusPercentX":null,"focusPercentY":null,"alt":""},"User:4e728cc62a4b":{"__typename":"User","id":"4e728cc62a4b","name":"Hunter Freas","viewerEdge":{"__ref":"UserViewerEdge:userId:4e728cc62a4b-viewerId:lo_dce6ad329afc"},"verifications":{"__typename":"VerifiedInfo","isBookAuthor":false},"customDomainState":null,"hasSubdomain":false,"username":"hunterfreas","bio":"Android Developer diving into KMP Compose","imageId":"1*NU3kSJfPIpXuPZfekQ9BJw.jpeg","membership":{"__ref":"Membership:b0056bda6eee"}},"UserViewerEdge:userId:4e728cc62a4b-viewerId:lo_dce6ad329afc":{"__typename":"UserViewerEdge","id":"userId:4e728cc62a4b-viewerId:lo_dce6ad329afc","isMuting":false},"Membership:b0056bda6eee":{"__typename":"Membership","tier":"MEMBER","id":"b0056bda6eee"},"Post:c8fd1bfc6231":{"__typename":"Post","id":"c8fd1bfc6231","title":"Handling UI Events in Jetpack Compose: A Clean Approach","previewImage":{"__ref":"ImageMetadata:1*SZT3JGEmWBh_nrjZnLDVEg.jpeg"},"extendedPreviewContent":{"__typename":"PreviewContent","subtitle":"Explore a simple method for managing UI events in Jetpack Compose for cleaner, scalable code.","isFullContent":false},"creator":{"__ref":"User:4e728cc62a4b"},"isPublished":true,"mediumUrl":"https:\u002F\u002Fmedium.com\u002F@hunterfreas\u002Fhandling-ui-events-in-jetpack-compose-a-clean-approach-c8fd1bfc6231","collection":null,"isLimitedState":false,"allowResponses":true,"postResponses":{"__typename":"PostResponses","count":5},"visibility":"PUBLIC","clapCount":357,"isLocked":false,"firstPublishedAt":1710217876664,"latestPublishedAt":1712823145268,"pinnedAt":0,"readingTime":6.2437106918239,"sequence":null,"isSeries":false,"uniqueSlug":"handling-ui-events-in-jetpack-compose-a-clean-approach-c8fd1bfc6231"},"ImageMetadata:1*oNZb97GO9LxrUgO8J8ECKA.png":{"__typename":"ImageMetadata","id":"1*oNZb97GO9LxrUgO8J8ECKA.png","focusPercentX":null,"focusPercentY":null,"alt":null},"User:82d9e1bda6de":{"__typename":"User","id":"82d9e1bda6de","name":"Mirza Adil","viewerEdge":{"__ref":"UserViewerEdge:userId:82d9e1bda6de-viewerId:lo_dce6ad329afc"},"verifications":{"__typename":"VerifiedInfo","isBookAuthor":false},"customDomainState":{"__typename":"CustomDomainState","live":{"__typename":"CustomDomain","domain":"mirzaadil.medium.com"}},"hasSubdomain":true,"username":"mirzaadil","bio":"Technical Lead Android & Solution Architecture","imageId":"1*d9p0K9gDCJbEwFuKIctXgQ.jpeg","membership":null},"UserViewerEdge:userId:82d9e1bda6de-viewerId:lo_dce6ad329afc":{"__typename":"UserViewerEdge","id":"userId:82d9e1bda6de-viewerId:lo_dce6ad329afc","isMuting":false},"Post:4ebe363daf6d":{"__typename":"Post","id":"4ebe363daf6d","title":"Kotlin Data Types Defined: In-Depth Explanation:","previewImage":{"__ref":"ImageMetadata:1*oNZb97GO9LxrUgO8J8ECKA.png"},"extendedPreviewContent":{"__typename":"PreviewContent","subtitle":"Kotlin is a modern programming language, created by JetBrains, that increases developer productivity and provides a safe coding approach.","isFullContent":false},"creator":{"__ref":"User:82d9e1bda6de"},"isPublished":true,"mediumUrl":"https:\u002F\u002Fmirzaadil.medium.com\u002Fkotlin-data-types-defined-in-depth-explanation-4ebe363daf6d","collection":null,"isLimitedState":false,"allowResponses":true,"postResponses":{"__typename":"PostResponses","count":0},"visibility":"PUBLIC","clapCount":1,"isLocked":false,"firstPublishedAt":1732375685509,"latestPublishedAt":1732375685509,"pinnedAt":0,"readingTime":2.518867924528302,"sequence":null,"isSeries":false,"uniqueSlug":"kotlin-data-types-defined-in-depth-explanation-4ebe363daf6d"},"ImageMetadata:1*uRaZ79MNXUMw68Uvo9djeA.png":{"__typename":"ImageMetadata","id":"1*uRaZ79MNXUMw68Uvo9djeA.png","focusPercentX":null,"focusPercentY":null,"alt":null},"Post:d26540ccb2e0":{"__typename":"Post","id":"d26540ccb2e0","title":"Kotlin Tips and Tricks You May Not Know: #3 — Built-in Assertions","previewImage":{"__ref":"ImageMetadata:1*uRaZ79MNXUMw68Uvo9djeA.png"},"extendedPreviewContent":{"__typename":"PreviewContent","subtitle":"Effortlessly handle checks and validations in Kotlin using built-in functions","isFullContent":false},"creator":{"__ref":"User:c55a3d9e212a"},"isPublished":true,"mediumUrl":"https:\u002F\u002Fmedium.com\u002F@elenavanengelen\u002Fkotlin-tips-and-tricks-you-may-not-know-3-built-in-assertions-d26540ccb2e0","collection":null,"isLimitedState":false,"allowResponses":true,"postResponses":{"__typename":"PostResponses","count":1},"visibility":"PUBLIC","clapCount":31,"isLocked":false,"firstPublishedAt":1727776905309,"latestPublishedAt":1732370039890,"pinnedAt":0,"readingTime":4.901886792452831,"sequence":null,"isSeries":false,"uniqueSlug":"kotlin-tips-and-tricks-you-may-not-know-3-built-in-assertions-d26540ccb2e0"},"ImageMetadata:":{"__typename":"ImageMetadata","id":"","focusPercentX":null,"focusPercentY":null,"alt":null},"User:553500af8d18":{"__typename":"User","id":"553500af8d18","name":"Samarthbnsl","viewerEdge":{"__ref":"UserViewerEdge:userId:553500af8d18-viewerId:lo_dce6ad329afc"},"verifications":{"__typename":"VerifiedInfo","isBookAuthor":false},"customDomainState":null,"hasSubdomain":false,"username":"samarthbnsl","bio":"","imageId":"0*UxPdIIrJTIaAso0N","membership":null},"UserViewerEdge:userId:553500af8d18-viewerId:lo_dce6ad329afc":{"__typename":"UserViewerEdge","id":"userId:553500af8d18-viewerId:lo_dce6ad329afc","isMuting":false},"Post:5c2301120952":{"__typename":"Post","id":"5c2301120952","title":"The easiest way to understand and use Coroutines in Kotlin","previewImage":{"__ref":"ImageMetadata:"},"extendedPreviewContent":{"__typename":"PreviewContent","subtitle":"As soon as you start building your Android app, you might need to store some data or values that persist locally over time. Jetpack Compose…","isFullContent":false},"creator":{"__ref":"User:553500af8d18"},"isPublished":true,"mediumUrl":"https:\u002F\u002Fmedium.com\u002F@samarthbnsl\u002Fthe-easiest-way-to-understand-and-use-coroutines-in-kotlin-5c2301120952","collection":null,"isLimitedState":false,"allowResponses":true,"postResponses":{"__typename":"PostResponses","count":0},"visibility":"PUBLIC","clapCount":0,"isLocked":false,"firstPublishedAt":1732311565757,"latestPublishedAt":1732311565757,"pinnedAt":0,"readingTime":4.39622641509434,"sequence":null,"isSeries":false,"uniqueSlug":"the-easiest-way-to-understand-and-use-coroutines-in-kotlin-5c2301120952"},"ImageMetadata:1*bWucN3UYi0wF1yBQCMav-g.png":{"__typename":"ImageMetadata","id":"1*bWucN3UYi0wF1yBQCMav-g.png","focusPercentX":null,"focusPercentY":null,"alt":"The Text of Navigation In Jetpack Compose with a shuffle emoji and a robot emoji on either side of the text"},"User:940b7d9329f2":{"__typename":"User","id":"940b7d9329f2","name":"Chase","viewerEdge":{"__ref":"UserViewerEdge:userId:940b7d9329f2-viewerId:lo_dce6ad329afc"},"verifications":{"__typename":"VerifiedInfo","isBookAuthor":false},"customDomainState":null,"hasSubdomain":false,"username":"jpmtech","bio":"Find out more about the projects I'm working on at: https:\u002F\u002Fjpmtech.io\u002F and https:\u002F\u002Fgithub.com\u002FJPM-Tech or follow my health journey at medium.com\u002F@chase-health","imageId":"1*mYfG5N898gEyAgzyzW1YkA.jpeg","membership":null},"UserViewerEdge:userId:940b7d9329f2-viewerId:lo_dce6ad329afc":{"__typename":"UserViewerEdge","id":"userId:940b7d9329f2-viewerId:lo_dce6ad329afc","isMuting":false},"Post:c9e1fcfd2cdd":{"__typename":"Post","id":"c9e1fcfd2cdd","title":"Navigation in Jetpack Compose","previewImage":{"__ref":"ImageMetadata:1*bWucN3UYi0wF1yBQCMav-g.png"},"extendedPreviewContent":{"__typename":"PreviewContent","subtitle":"Navigation in Jetpack Compose has always been on of those things that was just hard for me to wrap my head around for some reason. I was…","isFullContent":false},"creator":{"__ref":"User:940b7d9329f2"},"isPublished":true,"mediumUrl":"https:\u002F\u002Fmedium.com\u002F@jpmtech\u002Fnavigation-in-jetpack-compose-c9e1fcfd2cdd","collection":null,"isLimitedState":false,"allowResponses":true,"postResponses":{"__typename":"PostResponses","count":1},"visibility":"PUBLIC","clapCount":75,"isLocked":false,"firstPublishedAt":1714561328544,"latestPublishedAt":1714561328544,"pinnedAt":0,"readingTime":4.394654088050315,"sequence":null,"isSeries":false,"uniqueSlug":"navigation-in-jetpack-compose-c9e1fcfd2cdd"},"ImageMetadata:0*832J-q31Eu9LVI7L":{"__typename":"ImageMetadata","id":"0*832J-q31Eu9LVI7L","focusPercentX":null,"focusPercentY":null,"alt":"Kotlin for Modern Android Apps"},"User:81ce80ece58d":{"__typename":"User","id":"81ce80ece58d","name":"Amir Hamjah","viewerEdge":{"__ref":"UserViewerEdge:userId:81ce80ece58d-viewerId:lo_dce6ad329afc"},"verifications":{"__typename":"VerifiedInfo","isBookAuthor":false},"customDomainState":null,"hasSubdomain":false,"username":"amirhamjahcomputer","bio":"Python Programmer at Google.","imageId":"0*6lq0k2VsL_-lSCxT","membership":{"__ref":"Membership:68f482b0-9bd7-418f-9373-2c030191d925"}},"Collection:84ac01765c52":{"__typename":"Collection","id":"84ac01765c52","slug":"write-a-catalyst","name":"Write A Catalyst","viewerEdge":{"__ref":"CollectionViewerEdge:collectionId:84ac01765c52-viewerId:lo_dce6ad329afc"},"domain":null,"description":"Write A Catalyst and Build it into Existence.","subscriberCount":46258,"customStyleSheet":null,"avatar":{"__ref":"ImageMetadata:1*KCHN5TM3Ga2PqZHA4hNbaw.png"}},"UserViewerEdge:userId:81ce80ece58d-viewerId:lo_dce6ad329afc":{"__typename":"UserViewerEdge","id":"userId:81ce80ece58d-viewerId:lo_dce6ad329afc","isMuting":false},"CollectionViewerEdge:collectionId:84ac01765c52-viewerId:lo_dce6ad329afc":{"__typename":"CollectionViewerEdge","id":"collectionId:84ac01765c52-viewerId:lo_dce6ad329afc","isMuting":false},"Membership:68f482b0-9bd7-418f-9373-2c030191d925":{"__typename":"Membership","tier":"MEMBER","id":"68f482b0-9bd7-418f-9373-2c030191d925"},"ImageMetadata:1*KCHN5TM3Ga2PqZHA4hNbaw.png":{"__typename":"ImageMetadata","id":"1*KCHN5TM3Ga2PqZHA4hNbaw.png"},"Post:1d8b13a8525d":{"__typename":"Post","id":"1d8b13a8525d","title":"Kotlin for Modern Android Apps","previewImage":{"__ref":"ImageMetadata:0*832J-q31Eu9LVI7L"},"extendedPreviewContent":{"__typename":"PreviewContent","subtitle":"Developer’s Guide","isFullContent":false},"creator":{"__ref":"User:81ce80ece58d"},"isPublished":true,"mediumUrl":"https:\u002F\u002Fmedium.com\u002Fwrite-a-catalyst\u002Fkotlin-for-modern-android-apps-1d8b13a8525d","collection":{"__ref":"Collection:84ac01765c52"},"isLimitedState":false,"allowResponses":true,"postResponses":{"__typename":"PostResponses","count":0},"visibility":"LOCKED","clapCount":10,"isLocked":true,"firstPublishedAt":1732261323354,"latestPublishedAt":1732261323354,"pinnedAt":0,"readingTime":4.712264150943396,"sequence":null,"isSeries":false,"uniqueSlug":"kotlin-for-modern-android-apps-1d8b13a8525d"},"ImageMetadata:1*RJwmtv3r_cUPBDlo_OKsFA.jpeg":{"__typename":"ImageMetadata","id":"1*RJwmtv3r_cUPBDlo_OKsFA.jpeg","focusPercentX":null,"focusPercentY":null,"alt":null},"User:7e4138d087":{"__typename":"User","id":"7e4138d087","name":"Halil Özel","viewerEdge":{"__ref":"UserViewerEdge:userId:7e4138d087-viewerId:lo_dce6ad329afc"},"verifications":{"__typename":"VerifiedInfo","isBookAuthor":false},"customDomainState":{"__typename":"CustomDomainState","live":{"__typename":"CustomDomain","domain":"halilozel1903.medium.com"}},"hasSubdomain":true,"username":"halilozel1903","bio":"Android Developer 👨🏻💻","imageId":"1*b3An1nfqfJUAF_Iu_YpqkQ.png","membership":{"__ref":"Membership:6f61b0c84609"}},"UserViewerEdge:userId:7e4138d087-viewerId:lo_dce6ad329afc":{"__typename":"UserViewerEdge","id":"userId:7e4138d087-viewerId:lo_dce6ad329afc","isMuting":false},"Membership:6f61b0c84609":{"__typename":"Membership","tier":"MEMBER","id":"6f61b0c84609"},"Post:ba470c07177b":{"__typename":"Post","id":"ba470c07177b","title":"Kotlin: Dirty Code vs. Clean Code","previewImage":{"__ref":"ImageMetadata:1*RJwmtv3r_cUPBDlo_OKsFA.jpeg"},"extendedPreviewContent":{"__typename":"PreviewContent","subtitle":"Hey Folks, Today we will see with examples how to write dirty and clean code in Kotlin. We can write cleaner codes to improve ourselves and…","isFullContent":false},"creator":{"__ref":"User:7e4138d087"},"isPublished":true,"mediumUrl":"https:\u002F\u002Fhalilozel1903.medium.com\u002Fkotlin-dirty-code-vs-clean-code-ba470c07177b","collection":null,"isLimitedState":false,"allowResponses":false,"postResponses":{"__typename":"PostResponses","count":3},"visibility":"LOCKED","clapCount":293,"isLocked":true,"firstPublishedAt":1722456733449,"latestPublishedAt":1728308252312,"pinnedAt":0,"readingTime":2.1858490566037734,"sequence":null,"isSeries":false,"uniqueSlug":"kotlin-dirty-code-vs-clean-code-ba470c07177b"},"ImageMetadata:1*lr9_h8dWrym06Orb27GndA.png":{"__typename":"ImageMetadata","id":"1*lr9_h8dWrym06Orb27GndA.png","focusPercentX":null,"focusPercentY":null,"alt":null},"User:291cd1feea86":{"__typename":"User","id":"291cd1feea86","name":"Faisal Islam","viewerEdge":{"__ref":"UserViewerEdge:userId:291cd1feea86-viewerId:lo_dce6ad329afc"},"verifications":{"__typename":"VerifiedInfo","isBookAuthor":false},"customDomainState":null,"hasSubdomain":false,"username":"imfaisal_38328","bio":"","imageId":"0*BFVXKnNjpv368dMr","membership":{"__ref":"Membership:aac6c90eeb4b"}},"UserViewerEdge:userId:291cd1feea86-viewerId:lo_dce6ad329afc":{"__typename":"UserViewerEdge","id":"userId:291cd1feea86-viewerId:lo_dce6ad329afc","isMuting":false},"Membership:aac6c90eeb4b":{"__typename":"Membership","tier":"MEMBER","id":"aac6c90eeb4b"},"Post:468bb3da2805":{"__typename":"Post","id":"468bb3da2805","title":"Conversation with Scott Hanselman on Kotlin from Scratch","previewImage":{"__ref":"ImageMetadata:1*lr9_h8dWrym06Orb27GndA.png"},"extendedPreviewContent":{"__typename":"PreviewContent","subtitle":"Recently, I had the pleasure of joining Scott Hanselman on his renowned podcast, HanselmanMinutes: Fresh Tech Talks from Frech Faces…","isFullContent":false},"creator":{"__ref":"User:291cd1feea86"},"isPublished":true,"mediumUrl":"https:\u002F\u002Fmedium.com\u002F@imfaisal_38328\u002Fconversation-with-scott-hanselman-on-kotlin-from-scratch-468bb3da2805","collection":null,"isLimitedState":false,"allowResponses":true,"postResponses":{"__typename":"PostResponses","count":0},"visibility":"PUBLIC","clapCount":10,"isLocked":false,"firstPublishedAt":1732159529454,"latestPublishedAt":1732159529454,"pinnedAt":0,"readingTime":1.1757861635220126,"sequence":null,"isSeries":false,"uniqueSlug":"conversation-with-scott-hanselman-on-kotlin-from-scratch-468bb3da2805"},"ImageMetadata:0*mwVSPyoOCFtSufKh.png":{"__typename":"ImageMetadata","id":"0*mwVSPyoOCFtSufKh.png","focusPercentX":null,"focusPercentY":null,"alt":null},"User:9d5050331ad8":{"__typename":"User","id":"9d5050331ad8","name":"Amit Raj","viewerEdge":{"__ref":"UserViewerEdge:userId:9d5050331ad8-viewerId:lo_dce6ad329afc"},"verifications":{"__typename":"VerifiedInfo","isBookAuthor":false},"customDomainState":null,"hasSubdomain":false,"username":"ami0275","bio":"A Passionate Android Developer 💙","imageId":"1*g4domob9mp-bppZwgU97vw.png","membership":{"__ref":"Membership:9cd3cd34cb03"}},"UserViewerEdge:userId:9d5050331ad8-viewerId:lo_dce6ad329afc":{"__typename":"UserViewerEdge","id":"userId:9d5050331ad8-viewerId:lo_dce6ad329afc","isMuting":false},"Membership:9cd3cd34cb03":{"__typename":"Membership","tier":"MEMBER","id":"9cd3cd34cb03"},"Post:eff7edc2ef76":{"__typename":"Post","id":"eff7edc2ef76","title":"MVVM Clean Architecture Pattern in Android with Use Cases","previewImage":{"__ref":"ImageMetadata:0*mwVSPyoOCFtSufKh.png"},"extendedPreviewContent":{"__typename":"PreviewContent","subtitle":"Clean Architecture","isFullContent":false},"creator":{"__ref":"User:9d5050331ad8"},"isPublished":true,"mediumUrl":"https:\u002F\u002Fmedium.com\u002F@ami0275\u002Fmvvm-clean-architecture-pattern-in-android-with-use-cases-eff7edc2ef76","collection":null,"isLimitedState":false,"allowResponses":true,"postResponses":{"__typename":"PostResponses","count":3},"visibility":"PUBLIC","clapCount":240,"isLocked":false,"firstPublishedAt":1687756107014,"latestPublishedAt":1687756107014,"pinnedAt":0,"readingTime":5.360377358490566,"sequence":null,"isSeries":false,"uniqueSlug":"mvvm-clean-architecture-pattern-in-android-with-use-cases-eff7edc2ef76"},"ImageMetadata:0*-qffhhUsAgPXGTAC":{"__typename":"ImageMetadata","id":"0*-qffhhUsAgPXGTAC","focusPercentX":null,"focusPercentY":null,"alt":null},"User:2bf71e410bc8":{"__typename":"User","id":"2bf71e410bc8","name":"Charles Raj Iruthayaraj","viewerEdge":{"__ref":"UserViewerEdge:userId:2bf71e410bc8-viewerId:lo_dce6ad329afc"},"verifications":{"__typename":"VerifiedInfo","isBookAuthor":false},"customDomainState":null,"hasSubdomain":false,"username":"charles-raj","bio":"Experienced software developer with hands-on experience in Android application and iOS development. https:\u002F\u002Fpreply.com\u002Fen\u002Ftutor\u002F5664578","imageId":"1*9IkYtr4jRa9Yxg0JCB8Cdw.png","membership":{"__ref":"Membership:6a32b38c-56fd-4d7e-a2fb-09ff05e8d10b"}},"UserViewerEdge:userId:2bf71e410bc8-viewerId:lo_dce6ad329afc":{"__typename":"UserViewerEdge","id":"userId:2bf71e410bc8-viewerId:lo_dce6ad329afc","isMuting":false},"Membership:6a32b38c-56fd-4d7e-a2fb-09ff05e8d10b":{"__typename":"Membership","tier":"MEMBER","id":"6a32b38c-56fd-4d7e-a2fb-09ff05e8d10b"},"Post:0028283f9609":{"__typename":"Post","id":"0028283f9609","title":"Understanding Cold and Hot Flows in Kotlin: A Beginner-Friendly Guide","previewImage":{"__ref":"ImageMetadata:0*-qffhhUsAgPXGTAC"},"extendedPreviewContent":{"__typename":"PreviewContent","subtitle":"Hello Buddy’s, When working with Kotlin Coroutines and Flow, you may encounter the terms cold flow and hot flow. These concepts define how…","isFullContent":false},"creator":{"__ref":"User:2bf71e410bc8"},"isPublished":true,"mediumUrl":"https:\u002F\u002Fmedium.com\u002F@charles-raj\u002Funderstanding-cold-and-hot-flows-in-kotlin-a-beginner-friendly-guide-0028283f9609","collection":null,"isLimitedState":false,"allowResponses":true,"postResponses":{"__typename":"PostResponses","count":0},"visibility":"LOCKED","clapCount":1,"isLocked":true,"firstPublishedAt":1732139166915,"latestPublishedAt":1732139166915,"pinnedAt":0,"readingTime":2.607547169811321,"sequence":null,"isSeries":false,"uniqueSlug":"understanding-cold-and-hot-flows-in-kotlin-a-beginner-friendly-guide-0028283f9609"},"ImageMetadata:1*hqGVvXvRVaxYuwrmLDjQvg.jpeg":{"__typename":"ImageMetadata","id":"1*hqGVvXvRVaxYuwrmLDjQvg.jpeg","focusPercentX":null,"focusPercentY":null,"alt":null},"User:a3bb29fe186":{"__typename":"User","id":"a3bb29fe186","name":"Zahra Heydari","viewerEdge":{"__ref":"UserViewerEdge:userId:a3bb29fe186-viewerId:lo_dce6ad329afc"},"verifications":{"__typename":"VerifiedInfo","isBookAuthor":false},"customDomainState":null,"hasSubdomain":false,"username":"ZahraHeydari","bio":"Android Developer","imageId":"1*a-OtL8Ocih3s4dg10EUjcw.jpeg","membership":null},"UserViewerEdge:userId:a3bb29fe186-viewerId:lo_dce6ad329afc":{"__typename":"UserViewerEdge","id":"userId:a3bb29fe186-viewerId:lo_dce6ad329afc","isMuting":false},"Post:b09380c53b14":{"__typename":"Post","id":"b09380c53b14","title":"Singleton Pattern in Kotlin","previewImage":{"__ref":"ImageMetadata:1*hqGVvXvRVaxYuwrmLDjQvg.jpeg"},"extendedPreviewContent":{"__typename":"PreviewContent","subtitle":"How to implement the Singleton pattern in Kotlin?","isFullContent":false},"creator":{"__ref":"User:a3bb29fe186"},"isPublished":true,"mediumUrl":"https:\u002F\u002Fmedium.com\u002F@ZahraHeydari\u002Fsingleton-pattern-in-kotlin-b09380c53b14","collection":null,"isLimitedState":false,"allowResponses":true,"postResponses":{"__typename":"PostResponses","count":3},"visibility":"PUBLIC","clapCount":76,"isLocked":false,"firstPublishedAt":1695475491592,"latestPublishedAt":1696369459785,"pinnedAt":0,"readingTime":3.550314465408805,"sequence":null,"isSeries":false,"uniqueSlug":"singleton-pattern-in-kotlin-b09380c53b14"},"ImageMetadata:1*xTfq8knNLnFw0np2XILvlw.png":{"__typename":"ImageMetadata","id":"1*xTfq8knNLnFw0np2XILvlw.png","focusPercentX":null,"focusPercentY":null,"alt":null},"User:709acf7c07e3":{"__typename":"User","id":"709acf7c07e3","name":"Sandeep Kella","viewerEdge":{"__ref":"UserViewerEdge:userId:709acf7c07e3-viewerId:lo_dce6ad329afc"},"verifications":{"__typename":"VerifiedInfo","isBookAuthor":false},"customDomainState":null,"hasSubdomain":false,"username":"sandeepkella23","bio":"Android dev by day, tech writer by night. Breaking down code so even my cat could understand it. Join me on Medium for fun, geeky, and practical Android tips!","imageId":"1*m4ij-Lr2ZViGgYmypjtQ9A.png","membership":{"__ref":"Membership:18aa4934-76db-44ba-9003-0eace9da7ae1"}},"Collection:e888320c247d":{"__typename":"Collection","id":"e888320c247d","slug":"kotlin-android-chronicle","name":"Kotlin Android Chronicle","viewerEdge":{"__ref":"CollectionViewerEdge:collectionId:e888320c247d-viewerId:lo_dce6ad329afc"},"domain":null,"description":"Your go-to resource for mastering Android development with Kotlin. Explore in-depth tutorials, industry insights, and career advice to accelerate your journey as a professional Android developer.","subscriberCount":17,"customStyleSheet":null,"avatar":{"__ref":"ImageMetadata:1*0tD2HXq7R-ivpH_xn4gDbQ.jpeg"}},"UserViewerEdge:userId:709acf7c07e3-viewerId:lo_dce6ad329afc":{"__typename":"UserViewerEdge","id":"userId:709acf7c07e3-viewerId:lo_dce6ad329afc","isMuting":false},"CollectionViewerEdge:collectionId:e888320c247d-viewerId:lo_dce6ad329afc":{"__typename":"CollectionViewerEdge","id":"collectionId:e888320c247d-viewerId:lo_dce6ad329afc","isMuting":false},"Membership:18aa4934-76db-44ba-9003-0eace9da7ae1":{"__typename":"Membership","tier":"MEMBER","id":"18aa4934-76db-44ba-9003-0eace9da7ae1"},"ImageMetadata:1*0tD2HXq7R-ivpH_xn4gDbQ.jpeg":{"__typename":"ImageMetadata","id":"1*0tD2HXq7R-ivpH_xn4gDbQ.jpeg"},"Post:90cc9741bd9d":{"__typename":"Post","id":"90cc9741bd9d","title":"Optimizing Your Kotlin Code: Embrace Guard Clauses to Reduce Nested Logic","previewImage":{"__ref":"ImageMetadata:1*xTfq8knNLnFw0np2XILvlw.png"},"extendedPreviewContent":{"__typename":"PreviewContent","subtitle":"Greetings, Kotlin developers!","isFullContent":false},"creator":{"__ref":"User:709acf7c07e3"},"isPublished":true,"mediumUrl":"https:\u002F\u002Fmedium.com\u002Fkotlin-android-chronicle\u002Foptimizing-your-kotlin-code-embrace-guard-clauses-to-reduce-nested-logic-90cc9741bd9d","collection":{"__ref":"Collection:e888320c247d"},"isLimitedState":false,"allowResponses":true,"postResponses":{"__typename":"PostResponses","count":0},"visibility":"LOCKED","clapCount":0,"isLocked":true,"firstPublishedAt":1731981862555,"latestPublishedAt":1731981862555,"pinnedAt":0,"readingTime":2.1018867924528304,"sequence":null,"isSeries":false,"uniqueSlug":"optimizing-your-kotlin-code-embrace-guard-clauses-to-reduce-nested-logic-90cc9741bd9d"},"ImageMetadata:1*J39pAuo0okQu2yK40ZxLwA.png":{"__typename":"ImageMetadata","id":"1*J39pAuo0okQu2yK40ZxLwA.png","focusPercentX":42,"focusPercentY":45,"alt":null},"User:a4eafaf7301f":{"__typename":"User","id":"a4eafaf7301f","name":"Abhaysing Bhosale","viewerEdge":{"__ref":"UserViewerEdge:userId:a4eafaf7301f-viewerId:lo_dce6ad329afc"},"verifications":{"__typename":"VerifiedInfo","isBookAuthor":false},"customDomainState":null,"hasSubdomain":false,"username":"abhaysingbhosale123","bio":"Android app developer | Kotlin | Jetpack Compose","imageId":"1*KsTj5Ua9kAg5BaW53QhV0A.jpeg","membership":null},"Collection:c72404660798":{"__typename":"Collection","id":"c72404660798","slug":"proandroiddev","name":"ProAndroidDev","viewerEdge":{"__ref":"CollectionViewerEdge:collectionId:c72404660798-viewerId:lo_dce6ad329afc"},"domain":"proandroiddev.com","description":"The latest posts from Android Professionals and Google Developer Experts.","subscriberCount":61945,"customStyleSheet":null,"avatar":{"__ref":"ImageMetadata:1*XVtdl45m8YaYrPI4buJ5yQ.png"}},"UserViewerEdge:userId:a4eafaf7301f-viewerId:lo_dce6ad329afc":{"__typename":"UserViewerEdge","id":"userId:a4eafaf7301f-viewerId:lo_dce6ad329afc","isMuting":false},"CollectionViewerEdge:collectionId:c72404660798-viewerId:lo_dce6ad329afc":{"__typename":"CollectionViewerEdge","id":"collectionId:c72404660798-viewerId:lo_dce6ad329afc","isMuting":false},"ImageMetadata:1*XVtdl45m8YaYrPI4buJ5yQ.png":{"__typename":"ImageMetadata","id":"1*XVtdl45m8YaYrPI4buJ5yQ.png"},"Post:71e1bf1128df":{"__typename":"Post","id":"71e1bf1128df","title":"Kotlin Under the Hood: Exploring Objects, Companion Objects, and Annotations: @JvmStatic…","previewImage":{"__ref":"ImageMetadata:1*J39pAuo0okQu2yK40ZxLwA.png"},"extendedPreviewContent":{"__typename":"PreviewContent","subtitle":"Hello! In this article, we will explore the inner workings of objects and companion objects in Kotlin, along with the annotations…","isFullContent":false},"creator":{"__ref":"User:a4eafaf7301f"},"isPublished":true,"mediumUrl":"https:\u002F\u002Fproandroiddev.com\u002Fkotlin-under-the-hood-exploring-objects-companion-objects-and-annotations-jvmstatic-71e1bf1128df","collection":{"__ref":"Collection:c72404660798"},"isLimitedState":false,"allowResponses":true,"postResponses":{"__typename":"PostResponses","count":0},"visibility":"PUBLIC","clapCount":96,"isLocked":false,"firstPublishedAt":1729926499970,"latestPublishedAt":1730056099061,"pinnedAt":0,"readingTime":7.4792452830188685,"sequence":null,"isSeries":false,"uniqueSlug":"kotlin-under-the-hood-exploring-objects-companion-objects-and-annotations-jvmstatic-71e1bf1128df"},"ImageMetadata:0*4UYxkPGHes3oXlzd":{"__typename":"ImageMetadata","id":"0*4UYxkPGHes3oXlzd","focusPercentX":null,"focusPercentY":null,"alt":null},"User:6c636107c9a4":{"__typename":"User","id":"6c636107c9a4","name":"Atharva pajgade","viewerEdge":{"__ref":"UserViewerEdge:userId:6c636107c9a4-viewerId:lo_dce6ad329afc"},"verifications":{"__typename":"VerifiedInfo","isBookAuthor":false},"customDomainState":null,"hasSubdomain":false,"username":"atharvapajgade","bio":"Android Developer","imageId":"1*7l0qdVYD0N7VfaHr8R8yzA.jpeg","membership":null},"UserViewerEdge:userId:6c636107c9a4-viewerId:lo_dce6ad329afc":{"__typename":"UserViewerEdge","id":"userId:6c636107c9a4-viewerId:lo_dce6ad329afc","isMuting":false},"Post:b3380a5c69eb":{"__typename":"Post","id":"b3380a5c69eb","title":"Filter\u002Fsort LazyColumn Items In Jetpack Compose","previewImage":{"__ref":"ImageMetadata:0*4UYxkPGHes3oXlzd"},"extendedPreviewContent":{"__typename":"PreviewContent","subtitle":"Wanna implement a search feature in compose? Here’s how","isFullContent":false},"creator":{"__ref":"User:6c636107c9a4"},"isPublished":true,"mediumUrl":"https:\u002F\u002Fmedium.com\u002F@atharvapajgade\u002Ffilter-sort-lazycolumn-items-in-jetpack-compose-b3380a5c69eb","collection":null,"isLimitedState":false,"allowResponses":true,"postResponses":{"__typename":"PostResponses","count":0},"visibility":"PUBLIC","clapCount":0,"isLocked":false,"firstPublishedAt":1731564735022,"latestPublishedAt":1731564735022,"pinnedAt":0,"readingTime":1.4059748427672956,"sequence":null,"isSeries":false,"uniqueSlug":"filter-sort-lazycolumn-items-in-jetpack-compose-b3380a5c69eb"},"TagViewerEdge:tagSlug:kotlin-beginners-viewerId:lo_dce6ad329afc":{"__typename":"TagViewerEdge","recommendedPostsFeed:(limit:15)":{"__typename":"TagFeedResult","items":[{"__typename":"TagFeedItem","feedId":"72cd1481-13d1-48ac-9874-408eb25d8028","reason":84,"post":{"__ref":"Post:0ae48d91c860"}},{"__typename":"TagFeedItem","feedId":"72cd1481-13d1-48ac-9874-408eb25d8028","reason":107,"post":{"__ref":"Post:c8fd1bfc6231"}},{"__typename":"TagFeedItem","feedId":"72cd1481-13d1-48ac-9874-408eb25d8028","reason":84,"post":{"__ref":"Post:4ebe363daf6d"}},{"__typename":"TagFeedItem","feedId":"72cd1481-13d1-48ac-9874-408eb25d8028","reason":85,"post":{"__ref":"Post:d26540ccb2e0"}},{"__typename":"TagFeedItem","feedId":"72cd1481-13d1-48ac-9874-408eb25d8028","reason":84,"post":{"__ref":"Post:5c2301120952"}},{"__typename":"TagFeedItem","feedId":"72cd1481-13d1-48ac-9874-408eb25d8028","reason":85,"post":{"__ref":"Post:c9e1fcfd2cdd"}},{"__typename":"TagFeedItem","feedId":"72cd1481-13d1-48ac-9874-408eb25d8028","reason":84,"post":{"__ref":"Post:1d8b13a8525d"}},{"__typename":"TagFeedItem","feedId":"72cd1481-13d1-48ac-9874-408eb25d8028","reason":85,"post":{"__ref":"Post:ba470c07177b"}},{"__typename":"TagFeedItem","feedId":"72cd1481-13d1-48ac-9874-408eb25d8028","reason":84,"post":{"__ref":"Post:468bb3da2805"}},{"__typename":"TagFeedItem","feedId":"72cd1481-13d1-48ac-9874-408eb25d8028","reason":85,"post":{"__ref":"Post:eff7edc2ef76"}},{"__typename":"TagFeedItem","feedId":"72cd1481-13d1-48ac-9874-408eb25d8028","reason":84,"post":{"__ref":"Post:0028283f9609"}},{"__typename":"TagFeedItem","feedId":"72cd1481-13d1-48ac-9874-408eb25d8028","reason":85,"post":{"__ref":"Post:b09380c53b14"}},{"__typename":"TagFeedItem","feedId":"72cd1481-13d1-48ac-9874-408eb25d8028","reason":84,"post":{"__ref":"Post:90cc9741bd9d"}},{"__typename":"TagFeedItem","feedId":"72cd1481-13d1-48ac-9874-408eb25d8028","reason":85,"post":{"__ref":"Post:71e1bf1128df"}},{"__typename":"TagFeedItem","feedId":"72cd1481-13d1-48ac-9874-408eb25d8028","reason":84,"post":{"__ref":"Post:b3380a5c69eb"}}]},"id":"tagSlug:kotlin-beginners-viewerId:lo_dce6ad329afc"},"Tag:kotlin-beginners":{"__typename":"Tag","id":"kotlin-beginners","normalizedTagSlug":"kotlin-beginners","displayTitle":"Kotlin Beginners","postCount":2789,"followerCount":1112,"viewerEdge":{"__ref":"TagViewerEdge:tagSlug:kotlin-beginners-viewerId:lo_dce6ad329afc"},"parentTag":null},"Tag:kotlin":{"__typename":"Tag","id":"kotlin","displayTitle":"Kotlin","normalizedTagSlug":"kotlin"},"Tag:android":{"__typename":"Tag","id":"android","displayTitle":"Android","normalizedTagSlug":"android"},"Tag:android-app-development":{"__typename":"Tag","id":"android-app-development","displayTitle":"Android App Development","normalizedTagSlug":"android-app-development"},"Tag:programming":{"__typename":"Tag","id":"programming","displayTitle":"Programming","normalizedTagSlug":"programming"},"Tag:androiddev":{"__typename":"Tag","id":"androiddev","displayTitle":"AndroidDev","normalizedTagSlug":"androiddev"},"Tag:java":{"__typename":"Tag","id":"java","displayTitle":"Java","normalizedTagSlug":"java"},"Tag:kotlin-coroutines":{"__typename":"Tag","id":"kotlin-coroutines","displayTitle":"Kotlin Coroutines","normalizedTagSlug":"kotlin-coroutines"},"Tag:kotlin-native":{"__typename":"Tag","id":"kotlin-native","displayTitle":"Kotlin Native","normalizedTagSlug":"kotlin-native"},"Tag:kotlin-multiplatform":{"__typename":"Tag","id":"kotlin-multiplatform","displayTitle":"Kotlin Multiplatform","normalizedTagSlug":"kotlin-multiplatform"}}</script><script>window.__MIDDLEWARE_STATE__={"session":{"xsrf":""},"cache":{"cacheStatus":"MISS"}}</script><script src="https://cdn-client.medium.com/lite/static/js/manifest.b2314f6d.js"></script><script src="https://cdn-client.medium.com/lite/static/js/9865.1496d74a.js"></script><script src="https://cdn-client.medium.com/lite/static/js/main.24534aeb.js"></script><script src="https://cdn-client.medium.com/lite/static/js/instrumentation.d9108df7.chunk.js"></script> <script src="https://cdn-client.medium.com/lite/static/js/reporting.ff22a7a5.chunk.js"></script> <script src="https://cdn-client.medium.com/lite/static/js/5049.d1ead72d.chunk.js"></script> <script src="https://cdn-client.medium.com/lite/static/js/4810.6318add7.chunk.js"></script> <script src="https://cdn-client.medium.com/lite/static/js/2707.b0942613.chunk.js"></script> <script src="https://cdn-client.medium.com/lite/static/js/9977.5b3eb23a.chunk.js"></script> <script src="https://cdn-client.medium.com/lite/static/js/8599.1ab63137.chunk.js"></script> <script src="https://cdn-client.medium.com/lite/static/js/5250.9f9e01d2.chunk.js"></script> <script src="https://cdn-client.medium.com/lite/static/js/6349.b071a958.chunk.js"></script> <script src="https://cdn-client.medium.com/lite/static/js/2648.26563adf.chunk.js"></script> <script src="https://cdn-client.medium.com/lite/static/js/8393.826a25fb.chunk.js"></script> <script src="https://cdn-client.medium.com/lite/static/js/7079.67349d50.chunk.js"></script> <script src="https://cdn-client.medium.com/lite/static/js/5642.a2d9f6a1.chunk.js"></script> <script src="https://cdn-client.medium.com/lite/static/js/6834.08de95de.chunk.js"></script> <script src="https://cdn-client.medium.com/lite/static/js/6882.628a1cdf.chunk.js"></script> <script src="https://cdn-client.medium.com/lite/static/js/9553.1f5c3a14.chunk.js"></script> <script src="https://cdn-client.medium.com/lite/static/js/7560.d03991bf.chunk.js"></script> <script src="https://cdn-client.medium.com/lite/static/js/TopicPortalPage.MainContent.8c8c10e6.chunk.js"></script><script>window.main();</script><script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'8e73ce5bdaec5cdc',t:'MTczMjM5MjY2My4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script></body></html>