en
Feedback
Droid Hub✨

Droid Hub✨

Open in Telegram
213
Subscribers
No data24 hours
+37 days
+330 days
Posts Archive
این قرار داد رو میگذاریم که عکس هارو svg تحویل بگیرم تا حجم فایل ها کم تر باشه و در نتیجه خروجی apk مون حجم پایین تری داشته باشه. بعد میبینیم برامون svg ای فرستادن که به صورت نرمال حجمش از حالت png اش هم بالا تر رفته 😄 + معمولا وقتی تنوع رنگ هایی که استفاده کردن خیلی زیاد باشه و المنت های گرافیکی مختلفی رو ترکیب کرده باشن این مشکل پیش میاد.

داستان هر روز ما با دیزاینر ها
داستان هر روز ما با دیزاینر ها

jetpack compose optimization checklist

jetpack compose optimization checklist
jetpack compose optimization checklist

Programming in 2025
Programming in 2025

photo content

جایگزینی لامبدا مودیفایر ها به جای مودیفایر های معمولی به جهت افزایش پرفورمنس در api های کامپوز
جایگزینی لامبدا مودیفایر ها به جای مودیفایر های معمولی به جهت افزایش پرفورمنس در api های کامپوز

بهبود های پرفورمنسی گوگل در api های کامپوز با جایگزین کردن modifier ها با نسخه ی لامبداییشون
بهبود های پرفورمنسی گوگل در api های کامپوز با جایگزین کردن modifier ها با نسخه ی لامبداییشون

بازی بقیه 👆 قدرت گرفته از انجین unreal vs بازی مناطق گریدل زده ی تحت اشغال برنامه نویس های اندروید 👇 قدرت گرفته از kotlin w
بازی بقیه 👆 قدرت گرفته از انجین unreal vs بازی مناطق گریدل زده ی تحت اشغال برنامه نویس های اندروید 👇 قدرت گرفته از kotlin wasm و کامپوز https://marcinmoskala.com/ModifierOrderGuesser/

ادم همینجوری هم به این کد نگاه میکنه راحت چند تا مشکل داخلش پیدا میکنه.

وقتی طراح api در گوگل اعتقادی به استفاده از when نداره
وقتی طراح api در گوگل اعتقادی به استفاده از when نداره

writeDebugAppMetadata, writeDebugSigningConfigVersions ----- Purpose: Writes metadata and signing information. Importance: Provides necessary data for installation. packageDebug ------ Purpose: Packages code, resources, and assets into the final APK. Importance: Creates the installable APK file. createDebugApkListingFileRedirect ------- Purpose: Generates a file listing for the APK. Importance: Helps locate the generated APK. installDebug ----- Purpose: Installs the debug APK on a connected device or emulator. Importance: Deploys the app for testing.

checkDebugAarMetadata ------- Purpose: Verifies AAR (Android Archive) metadata for the debug variant. Importance: Prevents compatibility issues with Android dependencies. generateDebugResValues ---------- Purpose: Generates resource values (e.g., strings, dimensions) for the debug build. Importance: Populates essential resources needed during the build. mapDebugSourceSetPaths --------- Purpose: Maps source set paths for the debug build. Importance: Ensures Gradle can locate the correct source directories. generateDebugResources ----------- Purpose: Compiles resources for the debug build (e.g., drawables, layouts). Importance: Prepares resources for merging. mergeDebugResources -------- Purpose: Merges resources from various source sets into one. Importance: Avoids resource conflicts and prepares a unified set. packageDebugResources ---------- Purpose: Packages merged resources into the APK. Importance: Ensures all resources are included in the final build. parseDebugLocalResources ---------- Purpose: Parses local resources for the debug variant. Importance: Validates and processes local resources. createDebugCompatibleScreenManifests --------- Purpose: Generates a simplified manifest for screen compatibility. Importance: Ensures the app works across different screen sizes. extractDeepLinksDebug ------------ Purpose: Extracts information about deep links in the debug build. Importance: Prepares deep link data for testing. processDebugMainManifest, processDebugManifest, processDebugManifestForPackage -------- Purpose: Merges and processes the Android Manifest for the debug build. Importance: Ensures manifest files are correctly configured. processDebugResources --------- Purpose: Processes resources and generates the R.java class. Importance: Allows the app to access resources programmatically. kaptGenerateStubsDebugKotlin ------ Purpose: Generates stubs for Kotlin annotation processors. Importance: Supports libraries like Room and Dagger. kaptDebugKotlin -------- Purpose: Runs Kotlin annotation processors for the debug build. Importance: Generates code for annotations. compileDebugKotlin ------- Purpose: Compiles Kotlin source code for the debug build. Importance: Converts Kotlin code to bytecode. javaPreCompileDebug ----------- Purpose: Prepares Java sources for compilation. Importance: Ensures all imports and dependencies are ready. compileDebugJavaWithJavac --------- Purpose: Compiles Java code using javac. Importance: Transforms Java code into bytecode. mergeDebugShaders, compileDebugShaders ------- Purpose: Merges and compiles OpenGL shaders. Importance: Prepares graphical elements used in the app. generateDebugAssets, mergeDebugAssets, compressDebugAssets -------- Purpose: Handles assets like images and fonts. Importance: Ensures optimized assets are included in the APK. desugarDebugFileDependencies ---------- Purpose: Transforms Java 8 features for older Android versions. Importance: Enables Java 8 features on older devices. dexBuilderDebug ------- Purpose: Converts bytecode to DEX format. Importance: Prepares code for execution on Android. mergeDebugGlobalSynthetics, processDebugJavaRes, mergeDebugJavaResource ------ Purpose: Merges Java resources and synthetic classes. Importance: Ensures all resources are included. checkDebugDuplicateClasses ------- Purpose: Checks for duplicate class files. Importance: Prevents runtime crashes due to conflicts. mergeExtDexDebug, mergeLibDexDebug, mergeProjectDexDebug ------ Purpose: Merges DEX files from external dependencies and the project. Importance: Combines all DEX files into one executable. mergeDebugJniLibFolders, mergeDebugNativeLibs ----- Purpose: Merges native libraries (JNI) for the debug build. Importance: Includes native code in the APK. stripDebugDebugSymbols ------- Purpose: Removes debug symbols to reduce APK size. Importance: Optimizes APK size. validateSigningDebug -------- Purpose: Checks the signing configuration. Importance: Ensures the APK is correctly signed.

از زمانی که روی دکمه بیلد در اندروید استادیو کلیک میکنید تا لحظه ای که خروجی apk ساخته میشه این تسک ها روی گریدل انجام میشه :
از زمانی که روی دکمه بیلد در اندروید استادیو کلیک میکنید تا لحظه ای که خروجی apk ساخته میشه این تسک ها روی گریدل انجام میشه :checkKotlinGradlePluginConfigurationErrors ----------- Purpose: Scans for configuration errors related to the Kotlin Gradle plugin. Importance: Prevents misconfigurations that could break your build before it even starts. preBuild ------------- Purpose: Prepares the project for the build process. Importance: Ensures all prerequisites are in place before starting. preDebugBuild ------------- Purpose: Sets up the project for the debug build variant. Importance: Configures debug-specific settings.

اندروید استادیو دیگه پیر و خسته شده
اندروید استادیو دیگه پیر و خسته شده

k1 vs k2 compiler performance -> In IntelliJ IDEA 2024.3, K2 mode is out of Beta and is now Stable and ready for general use.
+3
k1 vs k2 compiler performance -> In IntelliJ IDEA 2024.3, K2 mode is out of Beta and is now Stable and ready for general use. K2 mode significantly improves code analysis stability, memory consumption efficiency, and the IDE’s overall performance, and it supports Kotlin 2.1 language features.

photo content

Every morning is a fresh start, a new opportunity to chase your dreams and embrace the possibilities of the day.
Every morning is a fresh start, a new opportunity to chase your dreams and embrace the possibilities of the day.

JetBrains is making it possible to build apps for iOS platforms using cloud machines next year! so users who don't have Apple device can do Kotlin Multiplatform as well ...! #News

https://github.com/DrKLO/Telegram/blob/master/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java یکی از دلایلی که
https://github.com/DrKLO/Telegram/blob/master/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java یکی از دلایلی که تلگرام با تعداد کمی از توسعه دهنده ها اداره میشه... نیرو های جدید چند ماه طول می‌کشه تا روی همین یدونه اکتیویتی آنبورد بشن 😁 پ.ن )‌ توی تصویر هم یه مشکل پرفورمنسی در کدشون وجود داره runOnUiThread های تو در تو و غیر ضروری منجر صف بندی های اضافی وظایف در ترد Main میشه