Corrected file locations
This commit is contained in:
parent
71c1611e3e
commit
1269f1552f
@ -58,7 +58,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
def room_version = "2.3.0"
|
def room_version = '2.4.0'
|
||||||
|
|
||||||
implementation "androidx.room:room-runtime:$room_version"
|
implementation "androidx.room:room-runtime:$room_version"
|
||||||
annotationProcessor "androidx.room:room-compiler:$room_version"
|
annotationProcessor "androidx.room:room-compiler:$room_version"
|
||||||
@ -76,7 +76,7 @@ dependencies {
|
|||||||
testImplementation "androidx.room:room-testing:$room_version"
|
testImplementation "androidx.room:room-testing:$room_version"
|
||||||
|
|
||||||
// optional - Paging 3 Integration
|
// optional - Paging 3 Integration
|
||||||
implementation "androidx.room:room-paging:2.4.0-rc01"
|
implementation 'androidx.room:room-paging:2.4.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package org.dnss.sfs.git.wdg.noise
|
package org.ddnss.sfs.git.wdg.noise
|
||||||
|
|
||||||
import androidx.test.platform.app.InstrumentationRegistry
|
import androidx.test.platform.app.InstrumentationRegistry
|
||||||
import androidx.test.ext.junit.runners.AndroidJUnit4
|
import androidx.test.ext.junit.runners.AndroidJUnit4
|
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="org.dnss.sfs.git.wdg.noise">
|
package="org.ddnss.sfs.git.wdg.noise">
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:allowBackup="true"
|
android:allowBackup="true"
|
||||||
@ -10,7 +10,7 @@
|
|||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/Theme.Noise">
|
android:theme="@style/Theme.Noise">
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name="org.ddnss.sfs.git.wdg.noise.MainActivity"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:theme="@style/Theme.Noise.NoActionBar"
|
android:theme="@style/Theme.Noise.NoActionBar"
|
||||||
android:exported="true">
|
android:exported="true">
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
query GetMessages{
|
||||||
|
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
query getUsers {
|
query GetUsers {
|
||||||
users {
|
users {
|
||||||
id
|
id
|
||||||
userName
|
userName
|
@ -1,4 +1,4 @@
|
|||||||
package org.dnss.sfs.git.wdg.noise
|
package org.ddnss.sfs.git.wdg.noise
|
||||||
import com.apollographql.apollo3.ApolloClient
|
import com.apollographql.apollo3.ApolloClient
|
||||||
|
|
||||||
val apolloClient = ApolloClient.Builder()
|
val apolloClient = ApolloClient.Builder()
|
@ -1,10 +1,7 @@
|
|||||||
package org.dnss.sfs.git.wdg.noise
|
package org.ddnss.sfs.git.wdg.noise
|
||||||
|
|
||||||
import android.graphics.Color
|
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import android.view.Menu
|
import android.view.Menu
|
||||||
import android.widget.Button
|
|
||||||
import android.widget.LinearLayout
|
|
||||||
import com.google.android.material.snackbar.Snackbar
|
import com.google.android.material.snackbar.Snackbar
|
||||||
import com.google.android.material.navigation.NavigationView
|
import com.google.android.material.navigation.NavigationView
|
||||||
import androidx.navigation.findNavController
|
import androidx.navigation.findNavController
|
||||||
@ -14,7 +11,7 @@ import androidx.navigation.ui.setupActionBarWithNavController
|
|||||||
import androidx.navigation.ui.setupWithNavController
|
import androidx.navigation.ui.setupWithNavController
|
||||||
import androidx.drawerlayout.widget.DrawerLayout
|
import androidx.drawerlayout.widget.DrawerLayout
|
||||||
import androidx.appcompat.app.AppCompatActivity
|
import androidx.appcompat.app.AppCompatActivity
|
||||||
import org.dnss.sfs.git.wdg.noise.databinding.ActivityMainBinding
|
import org.ddnss.sfs.git.wdg.noise.databinding.ActivityMainBinding
|
||||||
|
|
||||||
class MainActivity : AppCompatActivity() {
|
class MainActivity : AppCompatActivity() {
|
||||||
|
|
@ -1,7 +1,6 @@
|
|||||||
package org.dnss.sfs.git.wdg.noise.ui.gallery
|
package org.ddnss.sfs.git.wdg.noise.ui.gallery
|
||||||
|
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import android.util.Log
|
|
||||||
import android.view.LayoutInflater
|
import android.view.LayoutInflater
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import android.view.ViewGroup
|
import android.view.ViewGroup
|
||||||
@ -9,8 +8,8 @@ import androidx.fragment.app.Fragment
|
|||||||
import androidx.lifecycle.ViewModelProvider
|
import androidx.lifecycle.ViewModelProvider
|
||||||
import androidx.lifecycle.lifecycleScope
|
import androidx.lifecycle.lifecycleScope
|
||||||
import org.ddnss.sfs.git.wdg.noise.GetUsersQuery
|
import org.ddnss.sfs.git.wdg.noise.GetUsersQuery
|
||||||
import org.dnss.sfs.git.wdg.noise.apolloClient
|
import org.ddnss.sfs.git.wdg.noise.apolloClient
|
||||||
import org.dnss.sfs.git.wdg.noise.databinding.FragmentGalleryBinding
|
import org.ddnss.sfs.git.wdg.noise.databinding.FragmentGalleryBinding
|
||||||
|
|
||||||
class GalleryFragment : Fragment() {
|
class GalleryFragment : Fragment() {
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package org.dnss.sfs.git.wdg.noise.ui.gallery
|
package org.ddnss.sfs.git.wdg.noise.ui.gallery
|
||||||
|
|
||||||
import androidx.lifecycle.LiveData
|
import androidx.lifecycle.LiveData
|
||||||
import androidx.lifecycle.MutableLiveData
|
import androidx.lifecycle.MutableLiveData
|
@ -1,15 +1,12 @@
|
|||||||
package org.dnss.sfs.git.wdg.noise.ui.home
|
package org.ddnss.sfs.git.wdg.noise.ui.home
|
||||||
|
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import android.view.LayoutInflater
|
import android.view.LayoutInflater
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import android.view.ViewGroup
|
import android.view.ViewGroup
|
||||||
import android.widget.TextView
|
|
||||||
import androidx.fragment.app.Fragment
|
import androidx.fragment.app.Fragment
|
||||||
import androidx.lifecycle.Observer
|
|
||||||
import androidx.lifecycle.ViewModelProvider
|
import androidx.lifecycle.ViewModelProvider
|
||||||
import org.dnss.sfs.git.wdg.noise.R
|
import org.ddnss.sfs.git.wdg.noise.databinding.FragmentHomeBinding
|
||||||
import org.dnss.sfs.git.wdg.noise.databinding.FragmentHomeBinding
|
|
||||||
|
|
||||||
class HomeFragment : Fragment() {
|
class HomeFragment : Fragment() {
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package org.dnss.sfs.git.wdg.noise.ui.home
|
package org.ddnss.sfs.git.wdg.noise.ui.home
|
||||||
|
|
||||||
import androidx.lifecycle.LiveData
|
import androidx.lifecycle.LiveData
|
||||||
import androidx.lifecycle.MutableLiveData
|
import androidx.lifecycle.MutableLiveData
|
@ -7,13 +7,13 @@
|
|||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
android:id="@+id/nav_home"
|
android:id="@+id/nav_home"
|
||||||
android:name="org.dnss.sfs.git.wdg.noise.ui.home.HomeFragment"
|
android:name="org.ddnss.sfs.git.wdg.noise.ui.home.HomeFragment"
|
||||||
android:label="@string/menu_chat"
|
android:label="@string/menu_chat"
|
||||||
tools:layout="@layout/fragment_home" />
|
tools:layout="@layout/fragment_home" />
|
||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
android:id="@+id/nav_gallery"
|
android:id="@+id/nav_gallery"
|
||||||
android:name="org.dnss.sfs.git.wdg.noise.ui.gallery.GalleryFragment"
|
android:name="org.ddnss.sfs.git.wdg.noise.ui.gallery.GalleryFragment"
|
||||||
android:label="@string/menu_settings"
|
android:label="@string/menu_settings"
|
||||||
tools:layout="@layout/fragment_gallery" />
|
tools:layout="@layout/fragment_gallery" />
|
||||||
</navigation>
|
</navigation>
|
@ -1,4 +1,4 @@
|
|||||||
package org.dnss.sfs.git.wdg.noise
|
package org.ddnss.sfs.git.wdg.noise
|
||||||
|
|
||||||
import org.junit.Test
|
import org.junit.Test
|
||||||
|
|
Loading…
Reference in New Issue
Block a user