Hi there, can someone explain please, why changes ...
# rx
l
Hi there, can someone explain please, why changes of isFoo boolean not trigger observable? It emits only the first value
Copy code
object Singleton {
		    var isFoo: Boolean = false // this value changes
		}
		
		// Somewhere in onCreate
	    Observable.just(isFoo)
	              .subscribe({ isFoo ->
	                 if (isFoo) {
	                   showTabs()
	                 } else {
	                   hideTabs()
	                 }
	              })