Android Developers Updates
80 subscribers
9 photos
15 links
Download Telegram
Channel photo updated
Android Studio 4.0 is now in action! 🎬

Android Studio 4.0, including a new motion editor, build speed window, live layout inspector, and more.

Watch here β†’ https://t.co/qjwQsUQR3N


@AndroidDevelopersUpdates
Jetpack Compose Developer Preview 2 arrived!

Dive into this #Android11 video β†’ https://t.co/fiRTVEq456


@AndroidDevelopersUpdates
Useful Open Source libraries for Android development series starting from today 🀩
PR DOWNLOADER

Dependency: 'com.mindorks.android:prdownloader:0.6.0'

PRDownloader can be used to download any type of files like image, video, pdf, apk and etc.

This file downloader library supports pause and resume while downloading a file

PRDownloader gives callbacks for everything like onProgress, onCancel, onStart, onError and etc while downloading a file.

Supports proper request canceling.

Many requests can be made in parallel.


How to use: https://github.com/MindorksOpenSource/PRDownloader#using-prdownloader-library-in-your-android-application

Join @AndroidDevelopersUpdates
GLIDE

Dependency: 'com.github.bumptech.glide:glide:4.11.0'

Glide is a fast and efficient open source media management and image loading framework for Android that wraps media decoding, memory and disk caching, and resource pooling into a simple and easy to use interface.

Glide supports fetching, decoding, and displaying video stills, images, and animated GIFs.

How to use: https://github.com/bumptech/glide#how-do-i-use-glide


Join @AndroidDevelopersUpdates
DEXTER Runtime Permissions

Dependency: 'com.karumi:dexter:6.2.0'

Dexter is an Android library that simplifies the process of requesting permissions at runtime
Dexter frees your permission code from your activities and lets you write that logic anywhere you want.

How to use: https://github.com/Karumi/Dexter#usage

πŸ‘‰ Join @AndroidDevelopersUpdates
MZIP

Dependency: 'com.github.ghost1372:Mzip-Android:0.4.0'

MZip is a compress and extract library which supports zip & rar
The simple and useful library for android app developers to read/write archives like zip , rar.

How to use: https://github.com/ghost1372/Mzip-Android#how-do-i-use-mzip

πŸ‘‰ Join @AndroidDevelopersUpdates
SPRUCE ANIMATION LIBRARY

Dependency: 'com.willowtreeapps.spruce:spruce-android:1.0.1'

Spruce is a lightweight animation library that helps choreograph the animations on the screen. With so many different animation libraries out there, developers need to make sure that each view is animating at the appropriate time. Spruce can help designers request complex multi-view animations and not have the developers cringe at the prototype.

How to use: https://github.com/willowtreeapps/spruce-android#basic-usage

πŸ‘‰ Join @AndroidDevelopersUpdates
HOLO GRAPH LIBRARY

This library is ideal for adding impeccably designed graphs and charts into Android applications.

How to use: https://github.com/Androguide/HoloGraphLibrary#usage

πŸ‘‰ Join @AndroidDevelopersUpdates
CHUCK (⭐️ )

Dependencies:
[debug] 'com.readystatesoftware.chuck:library:1.1.0'
[release] 'com.readystatesoftware.chuck:library-no-op:1.1.0'

Chuck intercepts and persists all HTTP requests and responses inside your application, and provides a UI for inspecting their content.
Apps can optionally suppress the notification, and launch the Chuck UI directly from within their own interface. HTTP interactions and their contents can be exported via a share intent.

How to use: https://github.com/jgilfelt/chuck#setup

πŸ‘‰ Join @AndroidDevelopersUpdates
LOCALIZATION LIBRARY

Dependency: 'com.akexorcist:localization:1.2.5'

It helps support multiple languages in your app.
Its easiness comes with a limitation. The language of your application follows your Android System language. Life is hard when you change your application language on-the-fly. E.g., you have a language switcher button in your application. If you have this problem, you come to the right place. I have created a library to handle language changing at application level. It is called "Localization Activity".

How to use: https://github.com/akexorcist/Localization#usage

πŸ‘‰ Join @AndroidDevelopersUpdates
πŸ“– Activity Lifecycle:

The Activity class provides a number of callbacks that allow the activity to know that a state has changed.
The 6 lifecycle method of Activity describes how activity will behave at different states.

β€’ onCreate(): Calls when the activity is first created. This is where most initialization should go.

β€’ onStart(): Calls when the activity is becoming visible
to the user. This is a good place to begin drawing
visual elements, running animations, etc.

β€’ onResume(): Calls when the activity starts interacting
with the user.
This is an indicator that the activity became active and ready to receive input.

β€’ onPause(): The system calls this method as the first
indication that the user is leaving your activity.

β€’ onStop(): Calls when activity is no longer visible to the user.
This is a good place to stop
refreshing UI, running animations
and other visual things.

β€’ onDestroy(): The Final call you receive before your
activity is destroyed.

πŸ‘‰ Join @AndroidDevelopersUpdates
⬆️ Improve performance. Reduce code size. ⬇️

Leverage Google’s toolkit to easily deploy PGO tools and improve native Android apps in 3 easy steps:

1️⃣ Identify representative workload
2️⃣ Collect profiles
3️⃣ Build application

Details β†’ https://medium.com/androiddevelopers/pgo-for-native-android-applications-1a48a99e95d0
πŸ”Ž With the APK Analyzer, you can:

πŸ‘€ View the absolute and relative size of files in APK
πŸ’‘ Understand composition of DEX files
πŸ“ Quickly view final file versions
πŸ€” Compare two APKs side-by-side

Learn how β†’ https://developer.android.com/studio/build/apk-analyzer
Learn coding from scratch with Android Basics in Kotlin! πŸŽ‰

An online course for very beginners without programming experience, focused on the basics of building Android apps with Kotlin.
From Java ➑️ Kotlin

This learning pathway is for Java developers who want to ramp up quickly on Kotlin. Learn how to convert Java code to Kotlin, add Kotlin to an existing app, and more!
πŸ“– Fragments:

β€’ A fragment is a piece of an app's users interface that can be placed in activity

β€’ Interaction with Fragments is done through FragmentManager

β€’ A Fragment is closely tied to the Activity it is in, and can not be used apart from one

β€’ The Fragment class can be used in many ways to achieve a wide variety of results

β€’ Fragments can be used as part of your application's layout

β€’ You can add or remove fragments in an activity while
in the activity is running

β€’ You can combine multiple fragments in a single activity to build a multi-pane UI

πŸ‘‰ Join @AndroidDevelopersUpdates
πŸ“£ Introducing in-app review API! πŸ“£

Developers can now ask for ratings and reviews from within your app with the new in-app review API.

See how β†’ https://t.co/sUTLcKTTX1