/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.core
Package-level declarations
Types
Name | Summary |
---|---|
AutoDisposable | class AutoDisposable : LifecycleObserver |
BaseActivity | abstract class BaseActivity<V : ViewDataBinding> : AppCompatActivity To act as a super class for all other activities. Passing ViewDataBinding to include initialization which is common for all activities that's using databinding |
BaseBottomSheetDialogFragment | abstract class BaseBottomSheetDialogFragment<V : ViewDataBinding> : BottomSheetDialogFragment |
BaseDialog | abstract class BaseDialog<V : ViewDataBinding> : DialogFragment |
BaseFragment | abstract class BaseFragment<V : ViewDataBinding> : BaseTripKitPagerFragment To act as a super class for all other fragments. Passing ViewDataBinding to include initialization which is common for all fragments that's using databinding Sample usage SampleFragment |
BaseTripKitFragment | open class BaseTripKitFragment : Fragment |
BaseTripKitPagerFragment | open class BaseTripKitPagerFragment : BaseTripKitFragment |
CellsLoader | class CellsLoader(appContext: Context) : StopsFetcher.ICellsLoader |
CellsPersistor | class CellsPersistor(appContext: Context) : StopsFetcher.ICellsPersistor |
ConfigCreator | class ConfigCreator(context: Context, preferences: SharedPreferences, apiVersion: String, tripPreferences: TripPreferences) : ConfigRepository Represents configuration parameters. |
Converters | object Converters |
ErrorLoggerImpl | class ErrorLoggerImpl : ErrorLogger |
ExternalActionParams | @Value.Immutable abstract class ExternalActionParams |
OnResultStateListener | interface OnResultStateListener This listener is used when a certain SDK view (such as trip results) needs to display an empty view or an error view. |
RxViewModel | abstract class RxViewModel : ViewModel |
SchedulerFactory | interface SchedulerFactory |
SchedulerFactoryImpl | class SchedulerFactoryImpl : SchedulerFactory |
StopsPersistor | class StopsPersistor(appContext: Context, gson: Gson, scheduledStopRepository: ScheduledStopRepository) : StopsFetcher.IStopsPersistor |
UnableToFetchBitmapError | class UnableToFetchBitmapError(message: String) : RuntimeException |
UnableToFindPlaceCoordinatesError | class UnableToFindPlaceCoordinatesError(_cause: Throwable) : Throwable |
Functions
Name | Summary |
---|---|
addTo | fun Disposable.addTo(autoDisposable: AutoDisposable) |
afterMeasured | fun View.afterMeasured(): Single<Unit> |
fetchAsync | fun Picasso.fetchAsync(url: String): Single<Bitmap> |
fetchAsyncWithSize | fun Picasso.fetchAsyncWithSize(url: String, @DimenResmaxSize: Int? = null): Single<Bitmap> |
filterNone | fun <T : Any> Observable<out OptionalCompat<T>>.filterNone(): Observable<Unit> |
filterSome | fun <T : Any> Observable<out OptionalCompat<T>>.filterSome(): Observable<T> |
getDisplayError | fun <T : Any, U : Any> NetworkResponse<T, U>.getDisplayError(): String |
isExecuting | fun <T> Observable<T>.isExecuting(f: (Boolean) -> Unit): Observable<T> |
logError | fun <T : Any, U : Any> NetworkResponse<T, U>.logError() |