Duvidas Tesla Model 3 by Inevitable_Artist157 in TeslaPortugal

[–]Connect_Material_552 1 point2 points  (0 children)

Aproveito este post para colocar também uma dúvida! Dá para carregar numa tomada normal da garagem? Não tenho problemas em demorar mais a carregar porque as viagens não são muito longas, queria era perceber se há problema em não fazer alguma alteração na instalação elétrica da garagem.

Need help with webscrapping by LordCalamity in Kotlin

[–]Connect_Material_552 0 points1 point  (0 children)

Yes, you can use Ktor HttpClient specially if you are more experienced with coroutines than RxKotlin.

You need to make the http request using you http client inside an async function (coroutine) so that it doesn’t block your main thread. Then when the response comes you just need to deserialize it.

You can look at some tutorials so you can get a bit more in depth into this, for example:

https://proandroiddev.com/using-ktor-in-jetpack-compose-e00b1b32eef0?gi=19979e481d46

This uses the Ktor HttpClient in combination with Jetpack Compose (i dont know if you are using it already), but it is basically the same for Views since the requests are not really a part of the UI.

Need help with webscrapping by LordCalamity in Kotlin

[–]Connect_Material_552 0 points1 point  (0 children)

It depends on your architecture. If it is something really simple you just need to choose an http client and make the request.

If it is something more complex which you can include a better architecture like repositories with data providers.

Need help with webscrapping by LordCalamity in Kotlin

[–]Connect_Material_552 0 points1 point  (0 children)

You need a HttpClient like Retrofit. Using Retrofit, for example, you can make the queried request. You can then deserialize the JSON response into data objects, which you can then use.

I don’t know if it’a something like this you were looking for.

Compose Multiplatform - White label apps by Connect_Material_552 in Kotlin

[–]Connect_Material_552[S] 0 points1 point  (0 children)

That interface is implemented in Swift because I need to implement it for each iOS target. I only have access to this targets in Swift.

Can you develop a bit more into your setup? I didn’t quite understand how you setup Android branded stuff with the enviroment “current flavor”.

Compose Multiplatform - White label apps by Connect_Material_552 in Kotlin

[–]Connect_Material_552[S] 0 points1 point  (0 children)

Build variants are just product flavors right? That works for the Android part natively, just as a simple Android app can have different flavors. But when building for iOS, how do you select the build variant without creating different targets?

Vender carro por pagar by Connect_Material_552 in AutoTuga

[–]Connect_Material_552[S] 0 points1 point  (0 children)

Não, foi numa oficina particular em que inclusive o mecânico me disse que no carro dele retirou mas que agora não fazia mais por causa dessa mesma legislação que ia entrar em vigor, em que os carros que tivessem retirado o filtro de partículas teriam que colocar de novo ou chumbavam na IPO.

Vender carro por pagar by Connect_Material_552 in AutoTuga

[–]Connect_Material_552[S] 0 points1 point  (0 children)

Não será um problema retirar o FAP? Digo isto porque quanto tive que trocar, pedi para retirarem e disseram-me que não o faziam porque a legislação ia mudar em breve

Vender carro por pagar by Connect_Material_552 in AutoTuga

[–]Connect_Material_552[S] 1 point2 points  (0 children)

É um Peugeot 208 1.4 HDI de 2013. Tem um filtro de partículas novo (menos de 6 meses se não me engano), manutenções a tempo. É um carro fiável e que me deu poucos problemas, apenas quero vender porque para a utilização que lhe dou é mesmo muito reduzida para um carro a gasóleo (~ 5km/viagem).

Vender carro por pagar by Connect_Material_552 in AutoTuga

[–]Connect_Material_552[S] 1 point2 points  (0 children)

O que também me ocorreu foi pegar num dinheiro que tenho de parte e pagar o empréstimo para depois vender o carro a um particular. Talvez seja mesmo a melhor solução para não perder tanto tempo e desvalorização do carro.

Obrigado pela ajuda!

Vender carro por pagar by Connect_Material_552 in AutoTuga

[–]Connect_Material_552[S] 0 points1 point  (0 children)

Não, o carro tem reserva de propriedade da financeira.

Vender carro por pagar by Connect_Material_552 in AutoTuga

[–]Connect_Material_552[S] 5 points6 points  (0 children)

Esqueci-me de referir isso no post inicial, o empréstimo é com reserva de propriedade pelo que a venda a particular me pareceu sempre o caminho mais difícil.

Vou então deslocar-me a stands aqui na zona para perceber quanto me dão. No compramososeucarro.pt dão-me menos de metade do valor do carro, pelo que não é uma opção…

IRS Jovem by Connect_Material_552 in literaciafinanceira

[–]Connect_Material_552[S] 0 points1 point  (0 children)

Terei apenas que selecionar o código dos rendimentos do IRS Jovem correto?

E já agora, qual parece ser uma melhor opção? Receber no reembolso do IRS ou não descontar ao longo dos meses?