This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
import PlaygroundSupport | |
@propertyWrapper | |
struct Wrapper<T> { | |
var wrappedValue: T { | |
didSet { | |
for item in Mirror(reflecting: self).children { | |
for itemItem in Mirror(reflecting: item.value).children { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// OrdersViewController.swift | |
// sddclient | |
// | |
// Created by Гладков Алексей on 13.04.18. | |
// Copyright © 2018 SDD LLC. All rights reserved. | |
// | |
import UIKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// OrdersInteractor.swift | |
// sddclient | |
// | |
// Created by Гладков Алексей on 13.04.18. | |
// Copyright © 2018 SDD LLC. All rights reserved. | |
// | |
import Foundation | |
import UIKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SubscriptionsData.swift | |
// sddclient | |
// | |
// Created by Гладков Алексей on 10.04.18. | |
// Copyright © 2018 SDD LLC. All rights reserved. | |
// | |
import Foundation | |
import CoreData |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// OtherApi.swift | |
// sddclient | |
// | |
// Created by Гладков Алексей on 26.06.18. | |
// Copyright © 2018 SDD LLC. All rights reserved. | |
// | |
import Foundation | |
import Alamofire |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.graphics.Bitmap | |
import android.os.Bundle | |
import android.view.LayoutInflater | |
import android.view.View | |
import android.view.ViewGroup | |
import android.widget.Toast | |
import com.arellomobile.mvp.presenter.InjectPresenter | |
import com.arellomobile.mvp.presenter.ProvidePresenter | |
import com.sddhelp.R | |
import kotlinx.android.synthetic.main.fragment_profile.* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.util.Log | |
import com.arellomobile.mvp.InjectViewState | |
import com.arellomobile.mvp.MvpPresenter | |
import com.sddhelp.R | |
import io.reactivex.android.schedulers.AndroidSchedulers | |
import io.reactivex.schedulers.Schedulers | |
import ru.sddhelp.app.di.App | |
import ru.sddhelp.app.views.ProfileView | |
import ru.sddhelp.domain.models.Configuration | |
import ru.sddhelp.domain.models.ErrorResponse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bsh.StringUtil | |
import io.reactivex.Observable | |
import io.reactivex.Single | |
import ru.sddhelp.data.providers.LoginProvider | |
import ru.sddhelp.data.providers.LoginProviderImpl | |
import ru.sddhelp.data.providers.ProfileProvider | |
import ru.sddhelp.data.providers.ProfileProviderImpl | |
import ru.sddhelp.data.providers.models.* | |
import ru.sddhelp.domain.contracts.RemoteContract | |
import ru.sddhelp.domain.repositories.AuthRepository |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ru.sddhelp.data.providers.services | |
import io.reactivex.Observable | |
import io.reactivex.Single | |
import retrofit2.http.Field | |
import retrofit2.http.FormUrlEncoded | |
import retrofit2.http.POST | |
import ru.sddhelp.data.providers.models.ApiId | |
import ru.sddhelp.data.providers.models.ApiOrder | |
import ru.sddhelp.data.providers.models.ApiResponse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import io.reactivex.Observable | |
import io.reactivex.Single | |
import ru.sddhelp.base.BaseConverter | |
import ru.sddhelp.data.providers.models.ApiLogin | |
import ru.sddhelp.data.providers.models.ApiPhone | |
import ru.sddhelp.data.providers.models.ApiResponse | |
import ru.sddhelp.data.providers.services.RemoteLoginService | |
import javax.inject.Inject | |
/** |