   
   private var viewModel: TKUIHomeViewModel!
 
-  private let disposeBag = DisposeBag()
+  public let disposeBag = DisposeBag()
   
   private let searchBar = UISearchBar()
   

      .disposed(by: disposeBag)
  }
  
  public override func willAppear(animated: Bool) {
    // If the search text is empty when the card appears,
    // try loading autocompletion results.
    if let text = searchBar.text, text.isEmpty {

    super.willAppear(animated: animated)
  }
  
  open override func didAppear(animated: Bool) {
    super.didAppear(animated: animated)
    
    TKUIEventCallback.handler(.cardAppeared(self))
  }
  
  open override func didDisappear(animated: Bool) {
    super.didDisappear(animated: animated)
    
    cardAppearancePublisher.onNext(false)
