Тёмный
No video :(

Build a Clean Architecture Wallet App with Unit Tests - Android Studio Tutorial 

K Apps
Подписаться 2,4 тыс.
Просмотров 2 тыс.
50% 1

Опубликовано:

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 11   
@rollebonmarquis7574
@rollebonmarquis7574 Год назад
Thanks for the video. In regards to the use case for parsing the ParseTransactionValueInputUseCase, here are some examples that are not working as expected with the current logic: .0, .00, -5, -55, -0, -00, [random char][Number] for example (N5123),.... These are good real examples to write new tests for and to modify the current logic for. :D I've noticed one more thing, if, we actually do change the locale to a different one than the us one, then the app doesn't work ok... submit button becomes unresponsive. It seems like "some float number".toFloatOrNull() returns a null in this case. Replacing the current decimal separator with a dot before calling toFloatOrNull() can be one way of fixing it...
@nymexe
@nymexe Год назад
I'm loving the work you're doing for the community ))
@SiamakAshrafi
@SiamakAshrafi Год назад
very good video ... would be nice if you could do a video on kotest
@ubersticks
@ubersticks Год назад
Good job, again! That was enjoyable.
@ubersticks
@ubersticks Год назад
Cute trick: you can use sentence-like names for the test functions like this: fun `Test Float To German Format Without Fractional Part`() This only works for the Unit test (like this video) and not for the Instrumented tests.
@kapps7407
@kapps7407 Год назад
Yes i know but in iOS development it is also not possible thats why i use this kind of naming everywhere for the sake of consistency for myself :)
@ubersticks
@ubersticks Год назад
Instead of Y offsetting the before, separator and after Text()s with magic values to align them you can use modifier = Modifier.alignByBaseline() on each of the Text()s
@kapps7407
@kapps7407 Год назад
Thank you I will try this out!
@saeednoshadi3922
@saeednoshadi3922 Год назад
Great as always😍
@PandaTop.
@PandaTop. Год назад
Thanks
@Thelisitsin01
@Thelisitsin01 Год назад
Thanks
Далее
Сказала дочке НЕТ!
00:24
Просмотров 514 тыс.
Cleaner Code With Use Cases - The Full Guide
14:16
Просмотров 51 тыс.
When RESTful architecture isn't enough...
21:02
Просмотров 275 тыс.