TGTGInsighttelegram intelligenceLIVE / telegram public index
← Devils Below

TGINSIGHT SIMILAR POSTS

Find similar content

Source channel @devilsbelow · Post #464 · Jan 20

🌐Weekly News Digest [ January 12 – January 18 ] That was a week full of DRCongo's attempts to indulge its American partners. 💡Here are the key highlights: 🇧🇯 Benin — Singapore-based company will launch oil production at a 56-year old oil field 🇨🇩 DR Congo — DRC to Send 100,000 Tonnes of Copper to the US — DRC is preparing to send the US a list of mineral projects for American investors to take over — State company Gécamines proposes a deal to obtain a mining company, whose sale it has been blocking 🇬🇭 Ghana — Ghana is considering ending contracts that allow companies to keep legacy royalty and tax rates 🇲🇱 Mozambique — The Migration Service detained 5 Chinese and other foreign nationals for informal gold mining and unlawful stay 🇳🇬 Nigeria — Former Warlord Buys American Drones to Hunt for Oil Thieves in Nigeria 🇸🇩 Sudan — 10 Killed in a Collapse of Five Gold Mines in South Kordofan 🇿🇲 Zambia — Two Zambian workers died on January 13 at Mopani Copper Mines’ shaft in Kitwe 🇿🇼 Zimbabwe — Harare creates a monopoly on rehabilitation of rivers polluted by gold mining — The government is taking back a gold mine from a local football club #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