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
| <?xml version="1.0" encoding="utf-8"?> | |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:padding="16dp" | |
| android:orientation="vertical" | |
| android:background="@drawable/bg" | |
| tools:context=".MainActivity"> |
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 com.druve.druve; | |
| import android.annotation.SuppressLint; | |
| import android.app.AlertDialog; | |
| import android.content.DialogInterface; | |
| import android.content.Intent; | |
| import android.os.Bundle; | |
| import android.util.Log; | |
| import android.view.LayoutInflater; | |
| import android.view.View; |
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 com.druve.druve; | |
| import android.os.Bundle; | |
| import androidx.annotation.NonNull; | |
| import androidx.core.view.GravityCompat; | |
| import androidx.appcompat.app.ActionBarDrawerToggle; | |
| import android.util.Log; |
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
| class MyApp extends StatefulWidget { | |
| @override | |
| _MyAppState createState() => _MyAppState(); | |
| } | |
| class _MyAppState extends State<MyApp> { | |
| int _selectedPage = 0; | |
| final _page = [ | |
| HomePage(), | |
| HistoryPage(), |
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 'package:flutter/material.dart'; | |
| class HomePage extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return Container( | |
| child: Column( | |
| mainAxisAlignment: MainAxisAlignment.center, | |
| crossAxisAlignment: CrossAxisAlignment.stretch, | |
| children: <Widget>[ |
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
| 2020-09-11 19:59:21.676 27135-27135/com.app.mujecab E/AndroidRuntime: FATAL EXCEPTION: main | |
| Process: com.app.mujecab, PID: 27135 | |
| java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equalsIgnoreCase(java.lang.String)' on a null object reference | |
| at com.app.taxiapp.helpers.prefhandler.SharedHelper.predictionInList(SharedHelper.java:351) | |
| at com.app.taxiapp.helpers.prefhandler.SharedHelper.addrecentSearch(SharedHelper.java:331) | |
| at com.app.taxiapp.view.activity.SearchPlacesActivity.savePredictionsToPreference(SearchPlacesActivity.java:500) | |
| at com.app.taxiapp.view.activity.SearchPlacesActivity.access$1000(SearchPlacesActivity.java:70) | |
| at com.app.taxiapp.view.activity.SearchPlacesActivity$9.onClicked(SearchPlacesActivity.java:485) | |
| at com.app.taxiapp.view.adapter.AutoCompleteAdapter$1.onClick(AutoCompleteAdapter.java:68) |
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
| Performing hot restart... | |
| Syncing files to device Redmi Note 7... | |
| /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.18.1+2/lib/firebase_auth.dart:10:8: Error: Error when reading '/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_platform_interface-2.1.1/lib/firebase_auth_platform_interface.dart': The system cannot find the path specified. | |
| import 'package:firebase_auth_platform_interface/firebase_auth_platform_interface.dart'; | |
| ^ | |
| /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.18.1+2/lib/firebase_auth.dart:15:1: Error: Error when reading '/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_platform_interface-2.1.1/lib/firebase_auth_platform_interface.dart': The system cannot find the path specified. | |
| export 'package:firebase_auth_platform_interface/firebase_auth_platform_interface.dart' | |
| ^ |
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
| //add the plugins below dependencies | |
| dependencies: | |
| firebase_core: ^2.4.1 | |
| firebase_messaging: ^14.2.1 | |
| flutter_local_notifications: ^13.0.0 |
OlderNewer