Android Compose implements number selector

Android Compose implements number selector Preface Blogs to learn from The text is here Use process Conclusion Foreword I haven’t written a blog for a long time. Now let’s write an article about how to implement a numerical scrolling selector in compose. This is because a component in my company’s project uses a similar function. […]

Teach you step by step how to develop a map APP using COMPOSE~

Translated from: https://www.darrylbayliss.net/jetpack-compose-for-maps/ Foreword It’s hard to imagine that Jetpack Compose 1.0 was released back in July 2021. https://android-developers.googleblog.com/2021/07/jetpack-compose-announcement.html Now two years later, 24% of the top 1,000 apps on Google Play have adopted the new technology Compose, and its influence is evident. https://android-developers.googleblog.com/2023/05/whats-new-in-jetpack-compose.html As a member of the MAD (Modern Android Development) philosophy, Jetpack […]

window-docker-compose builds elk: 7.X (detailed version, current version 7.17)

Table of Contents Directory Structure installation steps 1. Writing docker-compose.yml 2. es_master.yml configuration of elasticsearch config 3. kibana.yml configuration of kibana’s config 4. Elasticsearch creates a secure authentication user 5. Create a Kibana keystore and add configuration (that is, store the es user and password in the keystore, and use ES with security authentication for […]

Use Android Jetpack Compose rendering effects to create cool animation effects

How to use rendering effects to create a stunning visual experience in Android Jetpack Compose Learning example: How to use rendering effects to change the UI interface Introduction Jetpack Compose provides a variety of tools and components for building engaging UIs, but one of the lesser-known gems in Compose is RenderEffect. In this blog post, […]

10 Analyze SurfaceComposerClient submission transaction process

After using SurfaceComposerClient::createSurface to create a SurfaceControl, the SurfaceControl can create a Surface for drawing. But what if you want to configure Surface’s zorder, position and other attributes? Methods for configuring properties are provided in SurfaceComposerClient::Transaction. SurfaceComposerClient::Transaction::setXXX() For example, in “02 The Simplest SurfaceFlinger Application”, zorder is configured to be the largest, the display position […]

Jetpack Compose large screen adaptation exploration

Article directory 1. Convert the original size to the window Size class 2. Measurement constraints 3. Constraint layout 4. Demo Official documentation: https://developer.android.com/jetpack/compose/layouts/adaptive?hl=zh-cn When you use Compose to lay out your entire app, app-level and screen-level composables take up all the space allocated to the app for rendering. At this level of app design, it […]

Docker-compose container cluster orchestration management tool

Table of Contents Docker-compose 1. Three major concepts of Docker-compose 2. YAML file format and writing considerations 1) When using YAML, you need to pay attention to the following matters 2) ymal file format 3) json format 3. Docker Compose configuration common fields 4. Four restart strategies of Docker-compose 5. Docker Compose common commands 6. […]

docker-compose install elastic-search

docker-compose Use version 7.17.3, which is compatible with springboot2.7 version: ‘3.0’ services: es01: image: elasticsearch:7.6.2 container_name: es01 environment: – node.name=es01 – cluster.name=es-docker-cluster – discovery.seed_hosts=es02,es03 – cluster.initial_master_nodes=es01,es02,es03 – bootstrap.memory_lock=true – “ES_JAVA_OPTS=-Xms512m -Xmx512m” ulimits: memlock: soft: -1 hard: -1 volumes: – ./es01/data:/usr/share/elasticsearch/data – ./es01/logs:/usr/share/elasticsearch/logs – ./elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml – ./elastic-certificates.p12:/usr/share/elasticsearch/config/elastic-certificates.p12 ports: – 9200:9200 networks: -elastic es02: image: elasticsearch:7.6.2 container_name: […]