Ageev Valentin
Ageev Valentin
Yes, UICollectionViewUpdateItem has indexPathBeforeUpdate and indexPathAfterUpdate. To use it with batch updates, you must use the following paths: Insert - new index Remove - old index Change - old index
I think you need to remove Provider, Lazy injection to remove Swinject dependency on target classes. I suggest using a new factory-provider API as the Kodein: ``` class Something {...
I added example to wiki (https://github.com/Kotlin/anko/wiki/Anko-Layouts-Examples#styles). Try ```xml @style/Widget.MaterialComponents.Button.TextButton.Custom 8dp ``` ```kotlin inline fun ViewManager.materialButton(@StyleRes theme: Int, init: MaterialButton.() -> Unit = {}): MaterialButton { return ankoView({ MaterialButton(it) }, theme,...
Use AppCompat version: ```kotlin alert(Appcompat, "Some text message").show() ```
> @mo3in > And What is the replacement instead? https://developer.android.com/jetpack/compose
I added example to wiki (https://github.com/Kotlin/anko/wiki/Anko-Layouts-Examples#styles). Example: ```xml @style/App.Widget.CustomEditText Your background ``` Using: ```kotlin themedEditText(R.style.App_ThemeOverlay_CustomEditText) ```
Try to return nil for the "after" and "before" items if the new date is out your date range. ``` extension ViewController: PagingViewControllerInfiniteDataSource { func pagingViewController(_: PagingViewController, itemAfter pagingItem: PagingItem)...
I have the same error. I found: https://forums.swift.org/t/override-for-unsafeflags-in-swift-package-manager/45273 https://forums.swift.org/t/confused-by-unsafe-flags-being-disallowed-in-dependencies/27359 So far, the workaround is to use a specific commit hash (7773785da86e1a2840a32837798b9d7e570a8324) for dependency.
> I'm seeing this same error with the latest Xcode – 13.4.1 (13F100). It seems to have started with the official release that downloaded over the weekend; I didn't see...
> Аналогично. Подтверждаю. > > iOS 15.2 и ниже (симулятор/девайс) -> краш отсутствует. Xcode 13.2.1, iOS 15.4 (до iOS 16.1, симуляторы) -> краш при запуске экрана карты. Но... Xcode 14.1,...