aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
  • Tools
  • About
aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
  • Tools
  • About

Posts by tag

Kotlin

15 posts
View Post
  • 6 min
  • Mobile
  • Programming

Migrating The AOSP QuickSearchBox App To Kotlin

Overview For the past three years, the Android Open Source Project (AOSP) applications team has taken on the task of converting AOSP apps from Java to Kotlin. This pursuit was begun as part of Android’s commitment to increasingly develop with Kotlin-first. Kotlin is a safe, pragmatic, and concise language, with a number of language-specific advantages. Useful Kotlin language features include: Null Safety: Kotlin types are non-nullable unless explicitly specified. This is incredibly useful for developers in avoiding difficult to trace null-pointer exceptions. Conciseness: Kotlin allows developers to reduce the amount of boilerplate code, expressing more with less lines of code compared to Java.…
View Post
Share
View Post
  • 2 min
  • Engineering
  • Software Engineering
  • Technology

How-To: Install Kotlin on Ubuntu 22.04

Prerequisites Ubuntu 22.04 Java is installed. See here on how to install Java on Ubuntu 22.04. Install via SDKMAN 01. Open a terminal and install unzip and zip programs needed by SDKMAN. SDKMAN! is a tool for managing parallel versions of multiple Software Development Kits on most Unix based systems 02.Install SDKMAN, which will be used to install Kotlin. 03. Run the initialization script and follow the instructions on-screen to install SDKMAN. In this example, the script is located under the /home/geek/ directory, your command will be different. 04. Check if SDKMAN has been installed by checking its version. 05.…
View Post
Share
View Post
  • 9 min
  • Mobile
  • Programming

5 Years Of Kotlin On Android — The Extended Interviews

We’ve published a celebration post on our blog to recognize the 5 year anniversary of official support for Kotlin on Android. In the making of that post, I had the chance to interview some great people who were involved in the Kotlin story, and the blog post could only include small bits of what they had to say on the topic. Hence, this post includes some interview material that would otherwise be left on the cutting room floor. Jeffrey van Gogh Jeffrey leads a team of engineers at Google working on Kotlin tooling, and he was involved in the discussions around the…
View Post
Share
View Post
  • 2 min
  • Programming

Independent Versioning Of Jetpack Compose Libraries

Starting today, the various Jetpack Compose libraries will move to independent versioning schemes. This creates the possibility for sub-groups such as androidx.compose.compiler or androidx.compose.animation to follow their own release cycles. Allowing these libraries to be versioned independently will decouple dependencies which were previously implicitly coupled, thereby making it easier to incrementally upgrade your application and therefore stay up-to-date with the latest Compose features. The first library to break away from the single Compose version is the Compose Compiler. Today we’re releasing the 1.2.0 stable version that brings support for Kotlin 1.7.0! The release is both backwards and forwards compatible with the Compose UI libraries and the Compose Runtime library. This means you can…
View Post
Share
View Post
  • 2 min
  • Programming
  • Software

Jetpack Compose 1.1 Is Now Stable!

Today, we’re releasing version 1.1 of Jetpack Compose, Android’s modern, native UI toolkit, continuing to build out our roadmap. This release contains new features like improved focus handling, touch target sizing, ImageVector caching, and support for Android 12 stretch overscroll. Compose 1.1 also graduates a number of previously experimental APIs to stable and supports newer versions of Kotlin. We’ve already updated our samples, codelabs, and Accompanist library to work with Compose 1.1. New stable features and APIs Image vector caching Compose 1.1 introduces image vector caching bringing big performance improvements. We’ve added a caching mechanism to painterResource API to cache all instances of ImageVectors that are parsed with a given resource id…
View Post
Share
View Post
  • 4 min
  • Programming

DataStore And Dependency Injection

In the following posts from our Jetpack DataStore series, we will cover several additional concepts to understand how DataStore interacts with other APIs, so that you’ll have everything at your disposal to use in a production environment. In this post specifically, we will be focusing on dependency injection with Hilt. We will be referring to the DataStore Preferences and Proto codelabs throughout this post for code samples. Dependency injection with Hilt In these codelabs, we interacted with our DataStore instances through the Preferences and Proto delegate construction once at the top level of a Kotlin file. We would then use the same instance throughout your application, as a singleton: /* Copyright 2022 Google LLC. SPDX-License-Identifier:…
View Post
Share
View Post
  • 9 min
  • Programming

All About Proto DataStore

In this post, we will learn about Proto DataStore, one of two DataStore implementations. We will discuss how to create it, read and write data and how to handle exceptions, to better understand the scenarios that make Proto a great choice. Proto DataStore uses typed objects backed by Protocol Buffers, to store smaller datasets while providing type safety. It removes the need for using key-value pairs, making it structurally different from its SharedPreferences predecessor and its sibling implementation, Preferences DataStore. However, that’s not all — DataStore brings many other improvements over SharedPreferences. Feel free to quickly jump back to our first post in the series and take a look at the detailed comparison we’ve made there.…
View Post
Share
View Post
  • 1 min
  • Mobile

Announcing The Android Basics In Kotlin Course

We are always looking for ways to make learning Android development accessible for all. In 2020, we announced the launch of Android Basics in Kotlin, a free self-paced programming course. Since then, over 100,000 beginners have completed their first milestone in the course. Android Basics in Kotlin teaches people with no programming experience how to build simple Android apps. Along the way, students learn the fundamentals of programming and the basics of the Kotlin programming language. Today, we’re excited to share that the final unit has been released, and the full Android Basics in Kotlin course is now available. This course is…
View Post
Share
View Post
  • 1 min
  • Programming

Android Dev Summit 2019 | LiveData with Coroutines and Flow

Android Dev Summit 2019 | LiveData with Coroutines and Flow LiveData is a simple lifecycle-aware observable, designed for making UIs that react to changes safely and efficiently. It can be used beyond View↔️ViewModel communications and even components like Room support it. However, there’s a risk of overuse, especially when dealing with multiple threads. The solution? Instead of expanding its features, LiveData now works seamlessly with Kotlin’s coroutines. In this talk, we cover the new “”liveData”” coroutine builder, showing when and how to use it and testing patterns and antipatterns to make clean, efficient, and solid reactive UIs. Presented by: Jose…
View Post
Share
View Post
  • 1 min
  • Programming
  • Software

Android Dev Summit 2019 | What’s New in Room

Android Dev Summit ’19 | What’s New in Room Room offers type-safe, easy persistence without the boilerplate—but we didn’t stop there! In Room 2.2, we’ve added several highly requested features: better support for relationships, integration with Kotlin Flows, pre-packaged databases, partial entities, schema default values and faster build speed. In this talk, you’ll learn about these features and how using them in your app will enable more advanced functionality and require less code to write and maintain. Presented by: Florina Muntenescu, Daniel Santiago Rivera
View Post
Share

Stay Connected!
LATEST
  • 1
    My First Pull Request At Age 14
    • March 24, 2023
  • 2
    AWS Chatbot Now Integrated Into Microsoft Teams
    • March 24, 2023
  • 3
    Verify POST Endpoint Availability With Uptime Checks
    • March 24, 2023
  • 4
    Sovereign Clouds Are Becoming A Big Deal Again
    • March 23, 2023
  • 5
    Ditching Google: The 3 Search Engines That Use AI To Give Results That Are Meaningful
    • March 23, 2023
  • 6
    Pythonic Techniques For Handling Sequences
    • March 21, 2023
  • 7
    Oracle Cloud Infrastructure to Increase the Reliability, Efficiency, and Simplicity of Large-Scale Kubernetes Environments at Reduced Costs
    • March 20, 2023
  • 8
    Monitor Kubernetes Cloud Costs With Open Source Tools
    • March 20, 2023
  • 9
    What Is An Edge-Native Application?
    • March 20, 2023
  • 10
    Eclipse Java Downloads Skyrocket
    • March 19, 2023
about
Hello World!

We are aster.cloud. We’re created by programmers for programmers.

Our site aims to provide guides, programming tips, reviews, and interesting materials for tech people and those who want to learn in general.

We would like to hear from you.

If you have any feedback, enquiries, or sponsorship request, kindly reach out to us at:

[email protected]
Most Popular
  • 1
    Cloudflare Takes On Online Fraud Detection Market
    • March 15, 2023
  • 2
    Linux Foundation Training & Certification & Cloud Native Computing Foundation Partner With Corise To Prepare 50,000 Professionals For The Certified Kubernetes Administrator Exam
    • March 16, 2023
  • 3
    Cloudflare Democratizes Post-Quantum Cryptography By Delivering It For Free, By Default
    • March 16, 2023
  • 4
    Daily QR “Scan Scams” Phishing Users On Their Mobile Devices
    • March 16, 2023
  • 5
    Lockheed Martin Launches Commercial Ground Control Software For Satellite Constellations
    • March 14, 2023
  • /
  • Platforms
  • Architecture
  • Engineering
  • Programming
  • Tools
  • About

Input your search keywords and press Enter.