회원관리, 송출금, 내역관리 등등 기능을 가진 가상 은행 어플리케이션(https://github.com/Tussle0410/Bank_Application)
Kotlin 형식으로 변환한 Repo입니다.
-
기존에는 Java로 작성된 부분을 Kotlin으로 let, with, apply 등을 최대한 사용해보려고 하였습니다.
-
기존에는 Layout을 Linearlayout으로만 구성하였습니다.
- Constraintlayout + Linearlayout으로 구성하여 코드가 비교적 적어졌습니다.
-
기존에는 Layout에서 Text, Color를 설정할 때 xml 파일에 그대로 작성하였습니다.
- R.String, R.Color 등을 사용하여 Text, Color 등의 정보들을 받아왔습니다.
-
기존에는 httpUrlConnection을 Async(비동기식)으로 Activity에 작성되어 중복되는 코드가 매우 많아서 유지 보수가 힘들 것이라고 생각하였습니다.
- MVVM에 ViewModel + DataBinding + Retrofit으로 중복되는 코드를 최소화하였습니다.
-
...
-
WampServer를 이용하여 Mysql 형태에 데이터베이스를 형성한다.
(A database is formed in the form of Mysql using WampServer.)
-
테이블을 형성한다.(Bank_Mysql.txt에 작성해놓았습니다.)
(Form a table. (I wrote it in Bank_Mysql.txt))
-
cmd(명령어 : ipconfig)를 통해 인터넷 IP를 얻은 후 databaseIP 클래스에 자신의 아이피주소 변경하기
(After obtaining an Internet IP through cmd, change your IP address in the database IP class.)
-
App에 사용되는 .php들을 "wamp64/www/bank/"에 넣어주시면 됩니다.
(Put the .php files used in the app into "wamp64/www/bank/")
- MVVM
- Retrofit
- Databinding
- ViewBinding
- ViewPager2 ...
이메일 – [email protected]
[참고 블로그(https://webnautes.tistory.com/828)]
MPAndroidChart (https://github.com/PhilJay/MPAndroidChart)