File tree Expand file tree Collapse file tree 7 files changed +13
-7
lines changed
java/ru/vdv/myapp/myreadersdiary Expand file tree Collapse file tree 7 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ android {
34
34
buildFeatures {
35
35
viewBinding true
36
36
}
37
+ namespace ' ru.vdv.myapp.myreadersdiary'
37
38
}
38
39
39
40
dependencies {
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3
- xmlns : tools =" http://schemas.android.com/tools"
4
- package =" ru.vdv.myapp.myreadersdiary" >
3
+ xmlns : tools =" http://schemas.android.com/tools" >
5
4
6
5
<uses-permission android : name =" android.permission.INTERNET" />
7
6
<uses-permission android : name =" android.permission.ACCESS_NETWORK_STATE" />
Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ interface Repository {
8
8
fun getClearSummaryEventData (startData : Date , callBack : CallBack <List <WeekEvent >>)
9
9
fun getRandomSummaryEventData (startData : Date , callBack : CallBack <List <WeekEvent >>)
10
10
fun getListOfBooks (callBack : CallBack <List <Book >>)
11
+ // модуль USER
11
12
fun getUserInfo (userLogin : String , callBack : CallBack <User >)
13
+
12
14
fun postBook (callBack : CallBack <Any >)
13
15
fun patchBook (callBack : CallBack <Any >)
14
16
fun deleteBook (callBack : CallBack <Any >)
Original file line number Diff line number Diff line change @@ -64,7 +64,8 @@ class MainFragment : BaseFragment<MainFragmentBinding>() {
64
64
viewModel.currentUser.observe(viewLifecycleOwner, Observer {
65
65
if (it == null ) {
66
66
Log .d(TAG , " Пользователь НЕ определен!" )
67
- bottomAppBar.replaceMenu(R .menu.bottom_app_bar_main_for_user_not_authorized)
67
+ // bottomAppBar.replaceMenu(R.menu.bottom_app_bar_main_for_user_not_authorized)
68
+ bottomAppBar.replaceMenu(R .menu.bottom_app_bar_main)
68
69
} else {
69
70
bottomAppBar.replaceMenu(R .menu.bottom_app_bar_main)
70
71
Log .d(TAG , " Пользователь определен: ${it.name} " )
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ buildscript {
5
5
mavenCentral()
6
6
}
7
7
dependencies {
8
- classpath ' com.android.tools.build:gradle:7.1.0 '
9
- classpath ' org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10 '
8
+ classpath ' com.android.tools.build:gradle:8.2.2 '
9
+ classpath ' org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21 '
10
10
11
11
// NOTE: Do not place your application dependencies here; they belong
12
12
// in the individual module build.gradle files
Original file line number Diff line number Diff line change @@ -18,4 +18,7 @@ android.useAndroidX=true
18
18
# Automatically convert third-party libraries to use AndroidX
19
19
android.enableJetifier =true
20
20
# Kotlin code style for this project: "official" or "obsolete":
21
- kotlin.code.style =official
21
+ kotlin.code.style =official
22
+ android.defaults.buildfeatures.buildconfig =true
23
+ android.nonTransitiveRClass =false
24
+ android.nonFinalResIds =false
Original file line number Diff line number Diff line change 1
1
# Sat Oct 23 21:44:59 MSK 2021
2
2
distributionBase =GRADLE_USER_HOME
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-7 .2-bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8 .2-bin.zip
4
4
distributionPath =wrapper/dists
5
5
zipStorePath =wrapper/dists
6
6
zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments