Building Web Applications With Vaadin and the Kotlin DSL Source link
Gradle toolchains are rarely a good idea 21 March 2024 The last post featured some Kotlin code inadvertently targeting a new Java API when the build JDK was bumped to 21. This can be solved with the -Xjdk-release Kotlin compiler flag, or by using Gradle toolchains to build with an old JDK. If you read […]
A custom view to enter a code usually used in authentication. Different types of OTPViews. Easy to use and configure your own view and character of OTP using all the attributes. Simple OTPView Box OTPView Underline OTPView We can manage our own OTPCount We can manage the OTP character color We can manage OTP character […]
Another one easy-to-use adapter for RecyclerView ???? Features: DSL-like methods for building adapters similar to Jetpack Compose but designed for RecyclerView no view holders; bind any model object directly to auto-generated view bindings support of multiple item types build-in click listeners the library uses DiffUtil under the hood for fast updating of your list support […]
People do open source for lots of reasons. One reason that I do open source is because I enjoy it… Recently I had fun connecting Okio to zlib. It even had fun side quests: If I were writing this code just to solve a business problem, I wouldn’t have spent so much time on the […]
Before you begin: Basic Requirements for Search Bar: Before you start using the Places SDK for Android, you need a project with a billing account and the Places API enabled. We recommend creating multiple Project Owners and Billing Administrators, so that you’ll always have someone with these roles available to your team. To learn more, […]
NetworkStateObserver Android Library A library that helps you check the state of your network, if it is either available, lost, unavailable and also check the reach-ability of your network when your server is either down or your ISP is connected but no data subscription. Demo: 1. Adding NetworkStateObserver to your project Include jitpack in your […]
Kotlin’s JDK release compatibility flag 13 March 2024 Yesterday, our Android app crashed with a weird NoSuchMethodError. java.lang.NoSuchMethodError: No interface method removeFirst()Ljava/lang/Object; in class Ljava/util/List; or its super classes (declaration of ‘java.util.List’ appears in /apex/com.android.art/javalib/core-oj.jar) at app.cash.redwood.lazylayout.widget.LazyListUpdateProcessor.onEndChanges(SourceFile:165) at app.cash.redwood.lazylayout.view.ViewLazyList.onEndChanges(SourceFile:210) at app.cash.redwood.protocol.widget.ProtocolBridge.sendChanges(SourceFile:125) at app.cash.redwood.treehouse.ViewContentCodeBinding.receiveChangesOnUiDispatcher(SourceFile:419) at app.cash.redwood.treehouse.ViewContentCodeBinding$sendChanges$1.invokeSuspend(SourceFile:383) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:33) at kotlinx.coroutines.DispatchedTask.run(SourceFile:104) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:250) […]
A modular object storage framework for Kotlin multiplatform projects. Usage ObjectStore provides a simple key/value storage interface which by default uses Type details to derive the Key automatically. To create an ObjectStore you need two things: ObjectStoreWriter: Providers the persistence mechanism to store data for later access. ObjectStoreSerializer: Provides the serialization mechanism to transform objects […]
A Lightweight Popping Animation Android Library! Easy to use Small Size Highly Customizable Getting Started To use this library in your project, add the following dependency to your build.gradle file: allprojects { repositories { … maven { url ‘https://jitpack.io’ } } } dependencies { implementation ‘com.github.gold24park:PopcornView:release-1.0.2’ } Usage Add the PopcornView to your layout XML […]