본문 바로가기

전체 글305

Android] Textview TextWatcher 자동 콤마 https://onlyfor-me-blog.tistory.com/435 [Android] TextWatcher란? 앱을 만들다 보면 editText에 입력한 값을 실시간으로 관찰하면서 입력값에 따른 처리를 해야 할 때가 있다. 그 때 가볍게 써먹을 수 있는 편리한 TextWatcher란 인터페이스가 있다. 이름부터 뭘 하는 onlyfor-me-blog.tistory.com editText.addTextChangedListener(new TextWatcher() { @Override public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) { Log.e(TAG, "beforeTextChanged() - charSequen.. 2023. 6. 20.
개인정보처리방침 ('https://odomm.tistory.com/'이하 '구준희')은(는) 「개인정보 보호법」 제30조에 따라 정보주체의 개인정보를 보호하고 이와 관련한 고충을 신속하고 원활하게 처리할 수 있도록 하기 위하여 다음과 같이 개인정보 처리방침을 수립·공개합니다. ○ 이 개인정보처리방침은 2023년 5월 20부터 적용됩니다. 제1조(개인정보의 처리 목적) ('https://odomm.tistory.com/'이하 '구준희')은(는) 다음의 목적을 위하여 개인정보를 처리합니다. 처리하고 있는 개인정보는 다음의 목적 이외의 용도로는 이용되지 않으며 이용 목적이 변경되는 경우에는 「개인정보 보호법」 제18조에 따라 별도의 동의를 받는 등 필요한 조치를 이행할 예정입니다. 제2.. 2023. 5. 20.
Android] 다크테마 벡터아이콘 색 변경하기 각 테마에서 style안에 item 이름은 동일하게 하고 안에 적용될 색은 다르게 한 후 벡터 아이콘 drawable에서 아이콘 색을 attr + item이름으로 지정해주면 된다. 2023. 5. 20.
78] 1672. Richest Customer Wealth Kotlin https://leetcode.com/problems/richest-customer-wealth/description/ Richest Customer Wealth - LeetCode Can you solve this real interview question? Richest Customer Wealth - You are given an m x n integer grid accounts where accounts[i][j] is the amount of money the i th customer has in the j th bank. Return the wealth that the richest customer has. A custom leetcode.com 2차원 int 배열이 주어질때 각 행의 합 중 .. 2023. 4. 19.
77] Leetcode 1979. Find Greatest Common Divisor of Array #Kotlin https://leetcode.com/problems/find-greatest-common-divisor-of-array/description/ Find Greatest Common Divisor of Array - LeetCode Can you solve this real interview question? Find Greatest Common Divisor of Array - Given an integer array nums, return the greatest common divisor of the smallest number and largest number in nums. The greatest common divisor of two numbers is the largest leetcode.co.. 2023. 4. 12.
76] ★ Leetcode 1071. Greatest Common Divisor of Strings Kotlin https://leetcode.com/problems/greatest-common-divisor-of-strings/description/ Greatest Common Divisor of Strings - LeetCode Can you solve this real interview question? Greatest Common Divisor of Strings - For two strings s and t, we say "t divides s" if and only if s = t + ... + t (i.e., t is concatenated with itself one or more times). Given two strings str1 and str2, return t leetcode.com 두 문자.. 2023. 4. 11.