This file contains 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
<vector xmlns:android="http://schemas.android.com/apk/res/android" | |
android:width="24dp" | |
android:height="33.62714dp" | |
android:viewportWidth="71.802" | |
android:viewportHeight="100.604"> | |
<path | |
android:fillColor="#00000000" | |
android:pathData="M48.852,22.95 L21.5,50.298 48.852,77.65" | |
android:strokeWidth="10" |
This file contains 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
2020-01-30 14:28:07.687 27148-27148/co.fanati E/LiveLocationSettingsFragment: Global error handler | |
co.fanati.base.FanaticoAndroidException: Please contact our support. They`ll help you! | |
at co.fanati.base.BaseFragment.onError(BaseFragment.kt:83) | |
at co.fanati.main.drawer.settings.privacy.location.LiveLocationSettingsFragment.onError(LiveLocationSettingsFragment.kt:122) | |
at com.link184.architecture.mvvm.base.MvvmFragment$onCreate$1.invoke(MvvmFragment.kt:78) | |
at com.link184.architecture.mvvm.base.MvvmFragment$onCreate$1.invoke(MvvmFragment.kt:22) | |
at com.link184.architecture.mvvm.base.MvvmContext$sam$androidx_lifecycle_Observer$0.onChanged(Unknown Source:2) | |
at androidx.lifecycle.LiveData.considerNotify(LiveData.java:131) | |
at androidx.lifecycle.LiveData.dispatchingValue(LiveData.java:149) | |
at androidx.lifecycle.LiveData.setValue(LiveData.java:307) |
This file contains 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
if (errorBody != null) { | |
try { | |
val serverError = gson.fromJson(errorBody.string(), ServerError::class.java) | |
serverError.url = raw().request.url.toString() | |
Firebase.crashlytics.recordException(serverError.toException()) | |
throw when (code()) { | |
401, 403 -> UnauthorizedException() | |
400, 404, 422 -> { | |
when (serverError.error) { | |
CART_NOT_EXIST -> CartNotFoundException() |
This file contains 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
{ | |
"ack": "Success", | |
"id": 243442, | |
"entityId": 68695, | |
"entityType": "ORDER", | |
"authorType": "SYSTEM", | |
"activity": "ORDER_PAID", | |
"author": "SYSTEM", | |
"authorName": "dhr dhr", | |
"channel": { |
This file contains 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 'package:flutter/material.dart'; | |
void main() => runApp(const MyApp()); | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return const MaterialApp( |
This file contains 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
void main() { | |
Car car1 = Car("1", "Mazda", "CX-5"); | |
Car car2 = Car("2", "Mazda", "CX-3"); | |
Car car3 = Car("3", "Toyota", "Prius"); | |
Car car4 = Car("4", "Toyota", "Rav4"); | |
Car car5 = Car("5", "Ford", "Kuga"); | |
Car car6 = Car("6", "Ford", "Puma"); | |
Car car7 = Car("7", "Honda", "Civic"); | |
Car car8 = Car("8", "Honda", "Accord"); | |
Car car9 = Car("9", "BMW", "x1"); |