TGTGInsighttelegram intelligenceLIVE / telegram public index
← Devils Below

TGINSIGHT SIMILAR POSTS

Find similar content

Source channel @devilsbelow · Post #445 · Jan 13

🌐Weekly News Digest [ January 5 – January 11 ] That was the first full-fledged week of the new year of 2026, during which rulers forgave those who polluted their land, dismissed those who were managing their oil. 💡Here are the key highlights: 🇧🇼 Botswana — Botswana Invites Russia to Invest in Its Mining Sector 🇨🇩 DR Congo — Congolese clergy speaks against the US-DRC agreement. — The government allows processing units to accept ore from artisanal miners amid protests 🇬🇶 Equatorial Guinea — Equatorial Guinea moves its capital to a brand new city built on oil revenues 🇬🇭 Ghana — A Ghanaian prophet predicts the discovery of major onshore oil deposits in Ghana — Ghana hopes to keep its oil fields viable until 2040 🇲🇱 Mali — JNIM militants attack a gold mine in southeastern Mali 🇳🇪 Niger — Niger replaces its oil minister 🇳🇬 Nigeria — President reshuffles the country's oil sector management 🇸🇩 Sudan — Sudan’s central bank and Sudanese Mineral Resources Company set up a joint commission to curb illegal gold exports. 🇺🇬 Uganda — Uganda to start its first oil exports by October, despite environmental concerns 🇿🇲 Zambia — First report on the toxic pollution caused by a Chinese company designates 160 people as victims — Zambia is concerned over the safety of its workers in southern DRC #NewsDigest ➡️ Follow to stay informed - @devilsbelow

Hashtags

Results

1 similar post found

Search: #lifecycle

当前筛选 #lifecycle清除筛选
Android Broadcast

@android_broadcast · Post #9683 · 11/20/2025, 02:59 PM

🚀Lifecycle 2.10.0 вышел в стабильной версии! Google выпустила мажорное обновление библиотек Lifecycle. Этот релиз сфокусирован на улучшении интеграции с Compose. ⚙️rememberLifecycleOwner для Compose Новый композабл позволяет создавать изолированные LifecycleOwner внутри UI. Идеально для компонентов, которым нужно независимое управление состоянием — например, для HorizontalPager, где только активная страница должна быть в состоянии RESUMED. @Composable fun MyComposable() { val lifecycleOwner = rememberLifecycleOwner( maxLifecycle = Lifecycle.State.RESUMED, parentLifecycleOwner = LocalLifecycleOwner.current, ) CompositionLocalProvider( LocalLifecycleOwner provides lifecycleOwner ) { // Дочерние композаблы теперь имеют собственный жизненный цикл } } 🚀 Интеграция с Navigation 3 Новый артефакт lifecycle-viewmodel-navigation3 предоставляет готовый декоратор для автоматической привязки ViewModel к отдельным экранам в Navigation 3. NavDisplay( backStack = backStack, entryDecorators = listOf( rememberSaveableStateHolderNavEntryDecorator(), rememberViewModelStoreNavEntryDecorator(), // Добавляем эту строку ), entryProvider = entryProvider { /* ... */ } ) Удобства для разработчиков: 👉 Идиоматичный Kotlin API для создания кастомных CreationExtras CreationExtras { this[MY_CUSTOM_KEY] = "myValue" } 👉 Метод savedStateHandle.saved() теперь нативно поддерживает nullable типы 👉Конструкторы SavedStateHandle помечены как @VisibleForTesting ⚠️ Важное изменение Повышение minSdk с API 21 до API 23 — убедитесь, что ваше приложение соответствует новым требованиям. #Jetpack#Lifecycle#Compose#Navigation#ViewModel#Kotlin