Giter VIP home page Giter VIP logo

kotlinprac's Introduction

KotlinPrac

Inflearn 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin) #3~#8



#3 랜덤 주사위 앱


diceapp1 diceapp2

  • DataBinding
  • val과 var
  • Random

강의를 따라 만든 후, 오른쪽 화면처럼 총합이 표시되면 좋겠다고 생각하여 추가해봤다.





#4 속담 리스트

sayinglist0sayinglist1sayinglist2sayinglist3

  • DataBinding
  • Adapter를 이용한 ListView
  • MutableList
  • DataClass

강의를 따라 앱 실행시 글귀 랜덤 출력과 리스트 페이지를 만들었다. 랜덤 주사위 앱에서 만들었던 것처럼 버튼을 누르면 랜덤으로 속담을 바꾸는 것을 추가해보았다. android:shadow 옵션을 이용하여 글자가 빛나는 것처럼 꾸며 보았다. 버튼 디자인 변경을 위해 검색하다가 Android Button Maker 라는 사이트를 발견해서 알지 못했던 옵션을 간편히 조절할 수 있었다. (추가) data class를 이용해 속담과 그 뜻을 매치하였고, ListView의 item을 클릭하면 뜻이 토스트 메세지로 팝업되도록 추가하였다.





#5 전장 카드 리스트

0123

  • Navigation & Fragment
  • RecyclerView

강의를 보면서 흐름에 따라 만들고 싶은 내용을 넣어서 만드는데, ListView보다 RecylclerView를 만드는데 코드가 복잡해서 Fragment 수를 늘리는 것 외에 기능을 추가하지 못했다. 변수명도 되도록이면 다르게 쓰려고 노력하는데, 변수가 무엇을 뜻하는지 파악하기 어려워서 뒤죽박죽이 되었다. 차분히 RecyclerView를 살펴봐야겠다. 다 넣기에는 너무 많아서 열받는 멀록과 재미없는 가시멧돼지는 뺐다.





#6 나만의 한줄 일기장

splashmaindialogue0dialogue1dialogue2 firebase

  • Firebase
    • auth
    • database
  • Dialogue

파이어베이스의 익명 로그인, 이메일 로그인을 사용하는 방법을 익혔다. uid를 이용해 Realtime Database에 데이터를 읽고 쓰는 방법도 알게 되었다. 앞서 만들었던 스플래쉬화면, 어댑터를 이용한 리스트를 이용해서 앱을 구성했다.





#7 도넛 맛집 리스트

splashsigninmainwebviewbookmark

  • Firebase
    • auth
    • database
  • RecylerView
  • WebView
  • Glide

첫 실행시 가입이 되어 있지 않은 사용자인 경우 회원가입 창에서 가입을 해야 메인 화면으로 입장할 수 있다. 망고플레이트 사이트에서 가져온 가게명, url, 이미지 url을 RecyclerView로 가지고 왔다. (크롤링 아니고 수작업) RecylcerView의 아이템을 누르면 Webview로 해당 망고플레이트 페이지로 넘어간다. 상단의 '북마크에 저장'을 누르면 realtime database에 저장된다. 북마크 화면으로 가면 realtime database에 저장된 정보들을 가져와 RecylerView로 보여준다.

#8 D-day

01 23

  • RelativeView
  • Calender

간단한 D-day 앱을 만들며 강의를 마쳤다.

kotlinprac's People

Contributors

yangsooplus avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.