Compare commits
No commits in common. "67f8e89598923b7cf862a5d34b40a08e9eafc7ed" and "9d665cf4e941d3e14eb0c43a9ef2b8ba2d2b8c7d" have entirely different histories.
67f8e89598
...
9d665cf4e9
@ -58,7 +58,7 @@ dependencies {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
def room_version = "2.4.1"
|
||||
def room_version = '2.4.0'
|
||||
|
||||
implementation "androidx.room:room-runtime:$room_version"
|
||||
annotationProcessor "androidx.room:room-compiler:$room_version"
|
||||
@ -76,7 +76,7 @@ dependencies {
|
||||
testImplementation "androidx.room:room-testing:$room_version"
|
||||
|
||||
// optional - Paging 3 Integration
|
||||
implementation "androidx.room:room-paging:$room_version"
|
||||
implementation 'androidx.room:room-paging:2.4.0'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
@ -1,6 +0,0 @@
|
||||
query GetChats($id: ID!, $pw: String!){
|
||||
chats(user: $id, passwordHash: $pw){
|
||||
id
|
||||
users
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
query GetGroupChats($id: ID!, $pw: String!){
|
||||
groupChats(user: $id, passwordHash: $pw){
|
||||
id
|
||||
users
|
||||
title
|
||||
description
|
||||
}
|
||||
}
|
@ -51,7 +51,7 @@ class MainActivity : AppCompatActivity() {
|
||||
val text: TextView = findViewById<TextView>(R.id.testData)
|
||||
|
||||
lifecycleScope.launchWhenResumed {
|
||||
val response = apolloClient.query(GetGroupChatsQuery("7bea8833b6d64a37ae0949619e06b692", "1234567890")).execute()
|
||||
val response = apolloClient.query(GetUsersQuery()).execute()
|
||||
|
||||
//Log.d("LaunchList", "Success ${response.data}")
|
||||
text.text = response.data.toString()
|
||||
|
@ -10,12 +10,12 @@ import androidx.lifecycle.ViewModelProvider
|
||||
import androidx.lifecycle.lifecycleScope
|
||||
import org.ddnss.sfs.git.wdg.noise.GetUsersQuery
|
||||
import org.ddnss.sfs.git.wdg.noise.apolloClient
|
||||
import org.ddnss.sfs.git.wdg.noise.databinding.FragmentSettingsBinding
|
||||
import org.ddnss.sfs.git.wdg.noise.databinding.FragmentGalleryBinding
|
||||
|
||||
class GalleryFragment : Fragment() {
|
||||
|
||||
private lateinit var galleryViewModel: GalleryViewModel
|
||||
private var _binding: FragmentSettingsBinding? = null
|
||||
private var _binding: FragmentGalleryBinding? = null
|
||||
|
||||
// This property is only valid between onCreateView and
|
||||
// onDestroyView.
|
||||
@ -31,7 +31,7 @@ class GalleryFragment : Fragment() {
|
||||
galleryViewModel =
|
||||
ViewModelProvider(this).get(GalleryViewModel::class.java)
|
||||
|
||||
_binding = FragmentSettingsBinding.inflate(inflater, container, false)
|
||||
_binding = FragmentGalleryBinding.inflate(inflater, container, false)
|
||||
val root: View = binding.root
|
||||
|
||||
return root
|
||||
|
@ -15,5 +15,5 @@
|
||||
android:id="@+id/nav_gallery"
|
||||
android:name="org.ddnss.sfs.git.wdg.noise.ui.gallery.GalleryFragment"
|
||||
android:label="@string/menu_settings"
|
||||
tools:layout="@layout/fragment_settings" />
|
||||
tools:layout="@layout/fragment_gallery" />
|
||||
</navigation>
|
Loading…
Reference in New Issue
Block a user