Android frameworks – Telegram
Android frameworks
225 subscribers
39 photos
2 videos
41 files
195 links
Contact admin: @maninblack1234
Download Telegram
LiveData for Unity

A lightweight, type-safe reactive data holder inspired by Android's LiveData — but made for Unity (C#).
This lets you observe data changes safely, without needing manual event unsubnoscriptions.

Key Features:

Zero memory leaks: automatic cleanup of destroyed MonoBehaviours
React to value changes with one line: Observe(this, value => { ... })
Immediately receives the current value on subscribe
Ideal for MVVM, clean architecture, UI binding, and reactive programming in Unity

public MutableLiveData<int> Health = new();
// ...
Health.SetValue(lives);


```csharp
player.Health.Observe(this, health =>
{
// ...
});`


https://github.com/UDFSoft/UnityLiveData/

#unity #csharp #gamedev
1🏆1
ReadMoreTextView

This library provides collapsible Text widgets with 'Read more' and 'Read less' text. (Including Jetpack Compose)

https://github.com/webtoon/ReadMoreTextView
🏆3👍2
GlideUnity

GlideUnity is a lightweight and convenient wrapper for loading images in Unity, inspired by Glide for Android. It supports loading from the network, file system, and Resources folder, with memory/disk caching, placeholders, and error handling.

Glide.With(this)
.Load("https://example.com/icon.png")
.Into(myUIImage);


https://github.com/UDFSoft/GlideUnity

#Unity #Glide
👍2🏆1
Which status code means unauthorized access?
Anonymous Quiz
80%
401 Unauthorized
14%
403 Forbidden
5%
404 Not Found
1%
400 Bad Request
🥱3🤔1🏆1👻1
UTimber (Timber for Unity)

A lightweight, extensible logging library for Unity inspired by Android's Timber.

Usage

Setup Plant one or more trees during initialization (e.g. in a bootstrap noscript):

void Awake()
{
Timber.Plant(new DebugTree()); // Logs to Unity Console
Timber.Plant(new FileTree("Logs/game.log")); // Logs to file
Timber.Plant(new NetworkTree("https://yourserver.com/api/logs")); // Logs to network
}


Logging examples

Timber.V("Verbose message");
Timber.D("Debug message");
Timber.I("Info message");
Timber.W("Warning message");
Timber.E("Error message");
Timber.E(new Exception("Something went wrong"));
Timber.E("Error with exception", new Exception("Details"));

Timber.Tag("Network").D("Sending request...");


https://github.com/UDFSoft/UnityTimber/
👍1🏆1
👻5
Multithreading and Concurrency

1. What is the difference between a process and a thread in Android?

Answer

2. What are the different ways to implement multithreading in Android?

Answer

3. What is the difference between AsyncTask and Thread in Android?

Answer

4. What is synchronization in Android, and why is it important?

Answer

5. What is a deadlock in multithreading, and how can it be prevented?

Answer

6. What is a Handler in Android, and how does it work?

Answer

7. What is a race condition in multithreading, and how can it be prevented?

Answer

8. What is the difference between a synchronous and asynchronous operation in Android?

Answer

9. What is a ThreadPoolExecutor in Android, and how does it work?

Answer

10. What is the role of a ContentProvider in Android, and how is it related to multithreading?

Answer
Google's stable JavaScript engine for Android is out

The new stable Jetpack JavaScript Engine library will allow developers to run JS code in an isolated and limited environment.
🌡 WiFi Temperature Sensor (ESP32 + DHT11)

A simple IoT temperature and humidity sensor based on ESP32-C3 and DHT11.
The device measures temperature and humidity, sends the data to a backend server, and from there it can be forwarded, for example, to a Telegram bot.

https://github.com/UDFSoft/Wifi-Temp-Sensor/
🏆21👍1🔥1
UniRetrofit

UniRetrofit is a lightweight wrapper around Proyecto26/RestClient, inspired by Retrofit (Android).
It simplifies working with HTTP requests in Unity, adds support for interceptors, authorization, and convenient integration with Promises (RSG) and Reactive Extensions (R3).

https://github.com/UDFSoft/UniRetrofit/

More details: https://news.1rj.ru/str/+WAzL2hpJ8IA0qIA4
🔥1🏆1