Andrew

Results 14 comments of Andrew

> 怎样正确的在Dialog中使用? > How to use it correctly in Dialog? Hi! I've been using another library, but there are 2 solutions: 1. Every time you open a dialog, show another...

Sure. How about preventing `userActionsTaken.add(UserActionTaken.SET_PROGRESS)` from being called if `setProgress()` is called from the constructor?

@gpeal I think it makes sense to check whether there is a progress attribute set in the XML and if yes - treat it as user-provided and prevent saved state...

@gpeal Please take a look at this [sample project](https://github.com/flaringapp/LottieIssue) In scope of this issue I expect the animation to persist it's previous progress when a fragment is restored

Having conducted some investigation, I realized that ktor erases the `Content-Type` header in `ContentNegotiation` plugin, namely in `io.ktor.client.plugins.contentnegotiation.ContentNegotiation.convertRequest()`: ``` ... request.headers.remove(HttpHeaders.ContentType) ... ``` Nevertheless, this header is appended to the...

@rsinukov Please try adding content negotiation plugin ``` install(ContentNegotiation) { json() } ``` And sending post request with any `@Serializable` object: ``` client.post("/") { header(HttpHeaders.ContentType, ContentType.Application.Json) setBody( SomeJsonObject("Hello", "Ktor") )...

@rsinukov Yes, you are right. In the real request in will be present. I just don't want to say that the issue is explicitly with the `MockEngine`. Going back to...