code review notes
This commit is contained in:
parent
bfaf668191
commit
cb694dcbcf
|
|
@ -33,7 +33,7 @@ open class GeneralDataLoadingViewModel<ResultType>: BaseViewModel {
|
|||
|
||||
private let loadingStateVariable = Variable<LoadingState>(.initial)
|
||||
|
||||
private let disposeBag = DisposeBag()
|
||||
public let disposeBag = DisposeBag()
|
||||
|
||||
/// Initializer with single result sequence and empty result checker closure.
|
||||
///
|
||||
|
|
|
|||
|
|
@ -22,8 +22,7 @@
|
|||
|
||||
import UIKit
|
||||
|
||||
/// For internal use only!
|
||||
final class TextPlaceholderView: UIView {
|
||||
internal final class TextPlaceholderView: UIView {
|
||||
|
||||
enum PlaceholderText: String {
|
||||
|
||||
|
|
|
|||
|
|
@ -22,8 +22,7 @@
|
|||
|
||||
import UIKit
|
||||
|
||||
/// For internal use only!
|
||||
final class TextWithButtonPlaceholder: UIView {
|
||||
internal final class TextWithButtonPlaceholder: UIView {
|
||||
|
||||
typealias TapHandler = () -> Void
|
||||
|
||||
|
|
|
|||
|
|
@ -20,10 +20,17 @@
|
|||
// THE SOFTWARE.
|
||||
//
|
||||
|
||||
import RxSwift
|
||||
import RxCocoa
|
||||
|
||||
public extension GeneralDataLoadingController where Self: UIViewController {
|
||||
|
||||
// MARK: - DisposeBagHolder default implementation
|
||||
|
||||
var disposeBag: DisposeBag {
|
||||
return viewModel.disposeBag
|
||||
}
|
||||
|
||||
// MARK: - StatefulViewController default implementation
|
||||
|
||||
func hasContent() -> Bool {
|
||||
|
|
|
|||
Loading…
Reference in New Issue