diff --git a/.gradle/8.0/checksums/checksums.lock b/.gradle/8.0/checksums/checksums.lock
new file mode 100644
index 0000000..53764a8
Binary files /dev/null and b/.gradle/8.0/checksums/checksums.lock differ
diff --git a/.gradle/8.0/dependencies-accessors/dependencies-accessors.lock b/.gradle/8.0/dependencies-accessors/dependencies-accessors.lock
new file mode 100644
index 0000000..94ac160
Binary files /dev/null and b/.gradle/8.0/dependencies-accessors/dependencies-accessors.lock differ
diff --git a/.gradle/8.0/dependencies-accessors/gc.properties b/.gradle/8.0/dependencies-accessors/gc.properties
new file mode 100644
index 0000000..e69de29
diff --git a/.gradle/8.0/executionHistory/executionHistory.bin b/.gradle/8.0/executionHistory/executionHistory.bin
new file mode 100644
index 0000000..f35d0fd
Binary files /dev/null and b/.gradle/8.0/executionHistory/executionHistory.bin differ
diff --git a/.gradle/8.0/executionHistory/executionHistory.lock b/.gradle/8.0/executionHistory/executionHistory.lock
new file mode 100644
index 0000000..8614aa3
Binary files /dev/null and b/.gradle/8.0/executionHistory/executionHistory.lock differ
diff --git a/.gradle/8.0/fileChanges/last-build.bin b/.gradle/8.0/fileChanges/last-build.bin
new file mode 100644
index 0000000..f76dd23
Binary files /dev/null and b/.gradle/8.0/fileChanges/last-build.bin differ
diff --git a/.gradle/8.0/fileHashes/fileHashes.bin b/.gradle/8.0/fileHashes/fileHashes.bin
new file mode 100644
index 0000000..af6970c
Binary files /dev/null and b/.gradle/8.0/fileHashes/fileHashes.bin differ
diff --git a/.gradle/8.0/fileHashes/fileHashes.lock b/.gradle/8.0/fileHashes/fileHashes.lock
new file mode 100644
index 0000000..2f3e3c8
Binary files /dev/null and b/.gradle/8.0/fileHashes/fileHashes.lock differ
diff --git a/.gradle/8.0/fileHashes/resourceHashesCache.bin b/.gradle/8.0/fileHashes/resourceHashesCache.bin
new file mode 100644
index 0000000..2c13697
Binary files /dev/null and b/.gradle/8.0/fileHashes/resourceHashesCache.bin differ
diff --git a/.gradle/8.0/gc.properties b/.gradle/8.0/gc.properties
new file mode 100644
index 0000000..e69de29
diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock
new file mode 100644
index 0000000..27837a0
Binary files /dev/null and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ
diff --git a/.gradle/buildOutputCleanup/cache.properties b/.gradle/buildOutputCleanup/cache.properties
new file mode 100644
index 0000000..92b6021
--- /dev/null
+++ b/.gradle/buildOutputCleanup/cache.properties
@@ -0,0 +1,2 @@
+#Tue Mar 12 19:56:01 IST 2024
+gradle.version=8.0
diff --git a/.gradle/buildOutputCleanup/outputFiles.bin b/.gradle/buildOutputCleanup/outputFiles.bin
new file mode 100644
index 0000000..0b80a01
Binary files /dev/null and b/.gradle/buildOutputCleanup/outputFiles.bin differ
diff --git a/.gradle/config.properties b/.gradle/config.properties
new file mode 100644
index 0000000..5aeb02b
--- /dev/null
+++ b/.gradle/config.properties
@@ -0,0 +1,2 @@
+#Tue Mar 12 19:55:45 IST 2024
+java.home=/opt/android-studio-2023.1.1/android-studio/jbr
diff --git a/.gradle/vcs-1/gc.properties b/.gradle/vcs-1/gc.properties
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..26d3352
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/.idea/.name b/.idea/.name
new file mode 100644
index 0000000..d50a658
--- /dev/null
+++ b/.idea/.name
@@ -0,0 +1 @@
+DateMe
\ No newline at end of file
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
new file mode 100644
index 0000000..b589d56
--- /dev/null
+++ b/.idea/compiler.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml
new file mode 100644
index 0000000..0c0c338
--- /dev/null
+++ b/.idea/deploymentTargetDropDown.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..0897082
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/kotlinc.xml b/.idea/kotlinc.xml
new file mode 100644
index 0000000..ff9696e
--- /dev/null
+++ b/.idea/kotlinc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/migrations.xml b/.idea/migrations.xml
new file mode 100644
index 0000000..f8051a6
--- /dev/null
+++ b/.idea/migrations.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..8978d23
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/java/com/redeyesncode/dateme/auth/chat/GirlChatActivity.kt b/app/src/main/java/com/redeyesncode/dateme/auth/chat/GirlChatActivity.kt
index 4029d93..127bd68 100644
--- a/app/src/main/java/com/redeyesncode/dateme/auth/chat/GirlChatActivity.kt
+++ b/app/src/main/java/com/redeyesncode/dateme/auth/chat/GirlChatActivity.kt
@@ -3,7 +3,6 @@ package com.redeyesncode.dateme.auth.chat
import android.os.Bundle
import android.util.Log
import android.widget.Toast
-import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.LinearLayoutManager
import com.google.android.gms.ads.AdRequest
import com.google.android.gms.ads.LoadAdError
@@ -25,10 +24,7 @@ import com.redeyesncode.dateme.network.response.UserLoginResponse
import com.redeyesncode.dateme.session.AppSession
import com.redeyesncode.dateme.session.Constant
import io.socket.client.IO
-import io.socket.client.Manager
import io.socket.client.Socket
-import io.socket.engineio.client.Transport
-import io.socket.engineio.client.transports.WebSocket
import javax.inject.Inject
@@ -91,6 +87,8 @@ class GirlChatActivity : BaseActivity() {
layoutManager = LinearLayoutManager(this@GirlChatActivity,LinearLayoutManager.VERTICAL,false)
adapter = adapterChat
}
+ binding.rcvChat.post { binding.rcvChat.scrollToPosition(adapterChat.getItemCount() - 1) }
+
}else{
showSnackbar("No Chat History Available")
}
@@ -146,6 +144,8 @@ class GirlChatActivity : BaseActivity() {
messageMap.put("type","ANDROID")
messageMap.put("room",currentRoomName)
messageMap.put("senderId",user.data?.userId.toString())
+
+// showCustomDialog("Info","senderId : ${user.data?.userId.toString()} Roomname : ${currentRoomName} clientId ${intent.getStringExtra("clientUserId").toString()}")
messageMap.put("receiverId",intent.getStringExtra("clientUserId").toString())
val userChatBody = UserChatBody("ANDROID",binding.messageInput.text.toString(),currentRoomName,
@@ -162,9 +162,15 @@ class GirlChatActivity : BaseActivity() {
binding.messageInput.text.clear()
messagesData.clear()
- val chatHistoryMap = hashMapOf()
- chatHistoryMap.put("roomName",currentRoomName)
- chatViewModel.getRoomChatMessages(chatHistoryMap)
+
+ showSnackbar("Loading New Messages !")
+
+ android.os.Handler().postDelayed(Runnable {
+ val chatHistoryMap = hashMapOf()
+ chatHistoryMap.put("roomName",currentRoomName)
+ chatViewModel.getRoomChatMessages(chatHistoryMap)
+ },4000)
+
}else{
setupSocket()
Toast.makeText(this@GirlChatActivity,"SOCKET NOT CONNECTED",Toast.LENGTH_LONG).show()
diff --git a/app/src/main/java/com/redeyesncode/dateme/dashboard/fragments/UserFeedFragment.kt b/app/src/main/java/com/redeyesncode/dateme/dashboard/fragments/UserFeedFragment.kt
index 292c130..b73db9f 100644
--- a/app/src/main/java/com/redeyesncode/dateme/dashboard/fragments/UserFeedFragment.kt
+++ b/app/src/main/java/com/redeyesncode/dateme/dashboard/fragments/UserFeedFragment.kt
@@ -192,7 +192,7 @@ open class UserFeedFragment : BaseFragment() {
},
onSuccess = {
hideLoadingDialog()
- googleAdSense()
+// googleAdSense()
if(it.data.isNotEmpty()){
setupUserFeed(it.data)
diff --git a/app/src/main/java/com/redeyesncode/dateme/dashboard/fragments/UserPageFragment.kt b/app/src/main/java/com/redeyesncode/dateme/dashboard/fragments/UserPageFragment.kt
index a5d9f38..79bac6c 100644
--- a/app/src/main/java/com/redeyesncode/dateme/dashboard/fragments/UserPageFragment.kt
+++ b/app/src/main/java/com/redeyesncode/dateme/dashboard/fragments/UserPageFragment.kt
@@ -64,9 +64,12 @@ class UserPageFragment : BaseFragment() {
binding.apply {
tvFullName.text = "${dataSet?.firstName} ${dataSet?.lastName}, "
- tvAge.text = dataSet?.dateOfBirth.toString()
- tvLocationName.text = dataSet?.lat_.toString()
-
+ tvAge.text = "Age ${dataSet?.age.toString()}"
+ tvNumber.text = "Number : ${dataSet?.number.toString()}"
+ tvEmailAddress.text = "Mail : ${dataSet?.email.toString()}"
+ tvDob.text = "Birthday : ${dataSet?.dateOfBirth.toString()}"
+ tvLocationName.text = "${dataSet?.lat_.toString()}, ${dataSet?.long_.toString()}"
+ tvUsername.text = "Username : ${dataSet?.userName.toString()}"
if(dataSet?.bio.toString().isEmpty()){
tvUserBio.text = "No Bio"
}else{
diff --git a/app/src/main/res/layout/activity_girl_chat.xml b/app/src/main/res/layout/activity_girl_chat.xml
index 13aceec..5df15ca 100644
--- a/app/src/main/res/layout/activity_girl_chat.xml
+++ b/app/src/main/res/layout/activity_girl_chat.xml
@@ -58,16 +58,13 @@
+ android:layout_height="0dp"
+ android:scrollbars="vertical"
+ app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
+ app:layout_constraintTop_toBottomOf="@+id/adView"
+ app:layout_constraintBottom_toTopOf="@id/input_layout"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent" />
@@ -52,6 +58,7 @@
-
+
+
+
+
+ android:textSize="@dimen/_15sdp" />
+
+
+
+