Some small stuff....

This commit is contained in:
sockenklaus
2022-07-16 12:57:26 +02:00
parent 8f84270e33
commit 5e03930d6f
3 changed files with 13 additions and 3 deletions

6
.idea/GitLinkConfig.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Preferences">
<option name="remoteHostId" value="GOGS" />
</component>
</project>

View File

@@ -51,14 +51,14 @@ dependencies {
implementation 'androidx.room:room-runtime:2.5.0-alpha02' implementation 'androidx.room:room-runtime:2.5.0-alpha02'
implementation "androidx.compose.ui:ui:1.3.0-alpha01" implementation "androidx.compose.ui:ui:1.3.0-alpha01"
implementation "androidx.compose.ui:ui-tooling-preview:1.3.0-alpha01" implementation "androidx.compose.ui:ui-tooling-preview:1.3.0-alpha01"
implementation 'androidx.compose.material:material-icons-extended:1.1.1' implementation 'androidx.compose.material:material-icons-extended:1.3.0-alpha01'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.0' implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.0'
annotationProcessor 'androidx.room:room-compiler:2.5.0-alpha02' annotationProcessor 'androidx.room:room-compiler:2.5.0-alpha02'
implementation 'androidx.room:room-rxjava3:2.5.0-alpha02' implementation 'androidx.room:room-rxjava3:2.5.0-alpha02'
implementation "androidx.room:room-paging:2.5.0-alpha02" implementation "androidx.room:room-paging:2.5.0-alpha02"
implementation 'com.google.android.material:material:1.6.1' implementation 'com.google.android.material:material:1.7.0-alpha02'
implementation 'androidx.core:core-ktx:1.8.0' implementation 'androidx.core:core-ktx:1.8.0'
implementation 'androidx.appcompat:appcompat:1.4.2' implementation 'androidx.appcompat:appcompat:1.4.2'

View File

@@ -1,5 +1,6 @@
package com.sockenklaus.batterytracker.ui.fragments package com.sockenklaus.batterytracker.ui.fragments
import android.app.DatePickerDialog
import android.os.Bundle import android.os.Bundle
import androidx.fragment.app.Fragment import androidx.fragment.app.Fragment
import android.view.LayoutInflater import android.view.LayoutInflater
@@ -103,6 +104,9 @@ class AddBatteryFragment : Fragment() {
return view return view
} }
/*
TODO: Implement the action
*/
private fun saveBattery() { private fun saveBattery() {
} }
@@ -114,7 +118,7 @@ class AddBatteryFragment : Fragment() {
} }
/*companion object { /*companion object {
*//**
* Use this factory method to create a new instance of * Use this factory method to create a new instance of
* this fragment using the provided parameters. * this fragment using the provided parameters.
* *