Blog Medium Imagegodstale2012-08-08T02:54:23+09:00

Use view binding to replace findViewById

New in Android Studio 3.6, view binding gives you the ability to replace findViewById with generated binding objects to simplify code, remove bugs, and avoid all the boilerplate of findViewById. TL;DR Enable view binding in build.gradle (no libraries dependencies)View binding generates a binding object for every layout in your module (activity_awesome.xml → ActivityAwesomeBinding.java)Binding object contains one property for every view with an id in the layout — [...]

By godstale|2월 20th, 2020|Categories: Tip&Tech (SW)|Tags: binding, findviewbyid, replace|0 Comments

How to integrate Firebase into your native C++ Android game.

Many games have a core thing in common when you really dig under the surface: there’s almost always a soft nougaty core of C++. Firebase offers native feeling SDKs for Android, iOS, Unity, and the Web which makes it super easy to connect your game or application to its globe spanning infrastructure. Unfortunately these SDKs are fairly difficult to integrate [...]

By godstale|2월 20th, 2020|Categories: Tip&Tech (SW)|Tags: android, firebase, integrate, native|0 Comments

Now in Android: January 23, 2020

AndroidX releases, Android Studio 3.6 and 4.0 previews, Kotlin typealias, building a Kotlin extensions library, and two Android podcast episodes When I first drafted this AndroidX section, earlier this week, there weren’t many library updates. I figured it made sense: people were just getting back from the long holiday, probably learning how to type again, and not a lot had [...]

By godstale|2월 20th, 2020|Categories: News|Tags: android, january|0 Comments

Turning it up to 11: the first Developer Preview of Android 11

Android has led the way towards the future of mobile, with new technologies like 5G to foldable displays to machine learning built into the core. A hallmark of our approach is a strong developer community that provides early and thoughtful feedback, helping us deliver a robust platform for apps and games that delight billions of users around the world. So [...]

By godstale|2월 20th, 2020|Categories: News|Tags: android, developer, first, preview, turning|0 Comments

휴대용 USB 가습기, 그까짓거 DIY

  몇 년 전에 가습기 모듈을 찾아보니 파는 모듈이 있긴 한데, 가격도 꽤 나가고 품절이라 신경을 껐었죠. 근데 근래에 aliexpress 에서 이걸 검색해보니 가격도 싸고 DIY 하기 좋게 소형화 되어 나오더라구요. 요 모듈 하나면 가습기 직접 만드는건 일도 아니라 즉시 구매... 그리고 2주 정도 기다려서 받은 가습기 모듈(WATER ATOMIZER, Humidifier module) 입니다. 동그란 진동판 뒷쪽에 물이 닿도록 설치하고 오른쪽 아래 [...]

By godstale|2월 24th, 2019|Categories: Project|1 Comment
Go to Top