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
| plugins { | |
| id 'com.android.application' | |
| id 'org.jetbrains.kotlin.android' | |
| id 'dagger.hilt.android.plugin' //hilt | |
| id 'kotlin-kapt' | |
| id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' | |
| // id 'com.google.gms.google-services' | |
| // id 'com.google.firebase.crashlytics' | |
| } |
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"?> | |
| <shape xmlns:android="http://schemas.android.com/apk/res/android"> | |
| <solid | |
| android:color="@color/green"> | |
| </solid> | |
| <corners | |
| android:radius="5dp"> | |
| </corners> | |
| </shape> |
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"?> | |
| <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
| <item > | |
| <shape | |
| android:shape="rectangle"> | |
| <solid android:color="@color/ash" /> | |
| <corners android:radius="2dp"/> | |
| </shape> | |
| </item> | |
| <item android:top="1dp" android:right="1dp" android:left="1dp" android:bottom="1dp"> |
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.navinprojects.myapplication; | |
| import java.util.Date; | |
| public class FirebaseMessage { | |
| private String messageText; | |
| private String messageUser; | |
| private long messageTime; |
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.navinprojects.myapplication; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.text.format.DateFormat; | |
| import android.view.View; | |
| import android.widget.EditText; | |
| import android.widget.ImageView; | |
| import android.widget.ListView; | |
| import android.widget.TextView; | |
| import com.firebase.ui.database.FirebaseListAdapter; |
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"?> | |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:layout_margin="4dp" | |
| android:orientation="vertical"> | |
| <ImageView | |
| android:id="@+id/user_icon" | |
| android:layout_width="24dp" |
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"?> | |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| tools:context=".GroupChatActivity"> | |
| <ListView | |
| android:id="@+id/list_of_messages" | |
| android:layout_width="match_parent" |
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
| FirebaseAuth.getInstance().signOut(); |
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"?> | |
| <resources> | |
| <color name="colorPrimary">#ffc107</color> | |
| <color name="colorPrimaryDark">#ffa000</color> | |
| <color name="colorAccent">#D81B60</color> | |
| </resources> |
NewerOlder