Skip to content

Make Things Happen

All about programming

  • Facebook
  • Twitter
  • Github
  • LinkedIn
  • Home
  • About
  • Contact

Tag: LiveData

Running unit tests for LiveData with Jupiter on Android

Running unit tests for ViewModels on Android where you have LiveData objects can be tricky. It is very possible that you get this exception:

java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked.

Continue reading “Running unit tests for LiveData with Jupiter on Android” →
Georgi Mirchev Android 1 Comment November 12, 2020 1 Minute

RxJava & LiveData combined error handling

Using RxJava with the architecture components from Google in the latest project that I was working on, it made me think how does error handling fit with the LiveData and can you keep the RxJava error handling which I find quite nice.

Continue reading “RxJava & LiveData combined error handling” →
Georgi Mirchev Android Leave a comment May 4, 2020May 4, 2020 1 Minute

Categories

  • Android
  • Code Architecture
  • Desktop
  • Uncategorized
  • Web

Tags

Android AndroidNDK Android Studio App arc Architecture Architecture Components Ban Behaviour Driven Development Brotli BrowserMob BrowserMobProxy Camera canvas CardIO Charts Chinese Clean Architecture CollapsingToolbarLayout Context DataBinding Design Patterns Dialog EditText EventBus Events Facebook Face Detection Feature Toggle Flux Fonts Fragment git Google Play GRUB Hexagonal inotify Javascript Joi Kotlin KVM Language Launcher LiveData Mockito MongoDB MVC MVP NestedScrollView NodeJS notifications npm OkHttp OOP OpenCV Push Notifications Retrofit Roles RxJava SailsJS schedulers ScrollView Selenium SocketIO Spinner SSL test textappearance textview Token Ubuntu unit tests Unity View Vision API

Recent Posts

  • Execute an RxJava observable only once in a given time period
  • Tricky parts when implementing unit tests for Android in Kotlin
  • Running unit tests for LiveData with Jupiter on Android
  • Race conditions in unit tests with RxJava when using TestScheduler
  • Parse windows-1251 (cyrillic) request in axios
Blog at WordPress.com.