Challenge: Optimize Combinestagram | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/7419-beginning-rxkotlin/lessons/21

made a balls of this one. called imagesSubject.onComplete() in onComplete of the โ€œnewPhotosโ€ observable subscription. when i naviage back to the popup im getting a crash because imagesSubject.value.size is null in the takeWhile branch. I was trying to use .ignoreElements and calling onComplete().

@macsimus Can you please help with this when you get a chance? Thank you - much appreciated! :]