Skip to content

Commit

Permalink
Release v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-norman committed Jan 17, 2020
1 parent 9f72a47 commit 0b57340
Show file tree
Hide file tree
Showing 19 changed files with 30 additions and 30 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@
- [ ] Units for kg/lbs
- [ ] CSV importing and exporting
- [ ] Setting goal weight (adds a horizontal flat line to chart)
- [ ] Make the chart on vertical view a 30-day view, and then a little expand button at the top can expand it to see lifetime history
- [ ] Homescreen widget for quick entry of weight
- [ ] Google assistant action for quick entry of weight
- [ ] Opt-in cloud back-up
8 changes: 2 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
apply plugin: 'com.android.application'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-android-extensions'

apply plugin: "androidx.navigation.safeargs.kotlin"

apply plugin: 'kotlin-kapt'

android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "com.example.weighttracker"
applicationId "com.brian.weightless"
minSdkVersion 26
targetSdkVersion 29
versionCode 1
Expand Down
Binary file added app/release/app-release.aab
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.weighttracker
package com.brian.weightLess

import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.weighttracker">
package="com.brian.weightLess">

<application
android:allowBackup="true"
Expand All @@ -9,7 +9,7 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<activity android:name="com.brian.weightLess.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.weighttracker
package com.brian.weightLess

import com.robinhood.spark.SparkAdapter

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.weighttracker
package com.brian.weightLess

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.weighttracker
package com.brian.weightLess

import android.graphics.Color
import android.os.Bundle
Expand All @@ -12,8 +12,8 @@ import androidx.navigation.fragment.findNavController
import androidx.recyclerview.widget.ItemTouchHelper
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.example.weighttracker.data.AppDatabase
import com.example.weighttracker.data.WeightEntity
import com.brian.weightLess.data.AppDatabase
import com.brian.weightLess.data.WeightEntity
import com.google.android.material.snackbar.Snackbar
import kotlinx.android.synthetic.main.main_fragment.*

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.example.weighttracker
package com.brian.weightLess

import androidx.lifecycle.*
import com.example.weighttracker.data.WeightDao
import com.example.weighttracker.data.WeightEntity
import com.brian.weightLess.data.WeightDao
import com.brian.weightLess.data.WeightEntity
import kotlinx.coroutines.launch

class MainViewModel(private val weightDao: WeightDao) : ViewModelProvider.Factory, ViewModel() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.weighttracker
package com.brian.weightLess

import android.content.Context
import android.graphics.Bitmap
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.example.weighttracker
package com.brian.weightLess

import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.TextView
import androidx.cardview.widget.CardView
import androidx.recyclerview.widget.RecyclerView
import com.example.weighttracker.data.WeightEntity
import com.brian.weightLess.data.WeightEntity
import kotlinx.android.synthetic.main.item_weight_entry.view.*
import java.text.SimpleDateFormat
import java.util.*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.weighttracker
package com.brian.weightLess

import android.app.DatePickerDialog
import android.os.Bundle
Expand All @@ -8,7 +8,7 @@ import android.view.ViewGroup
import androidx.fragment.app.DialogFragment
import androidx.lifecycle.ViewModelProviders
import androidx.navigation.fragment.navArgs
import com.example.weighttracker.data.WeightEntity
import com.brian.weightLess.data.WeightEntity
import com.google.android.material.textfield.TextInputEditText
import kotlinx.android.synthetic.main.dialog_weight_fragment.*
import java.text.SimpleDateFormat
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.example.weighttracker
package com.brian.weightLess

import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.example.weighttracker.data.WeightEntity
import com.brian.weightLess.data.WeightEntity

class WeightDialogSharedViewModel : ViewModel() {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.weighttracker.data
package com.brian.weightLess.data

import android.content.Context
import androidx.room.Database
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.weighttracker.data
package com.brian.weightLess.data

import androidx.room.*
import kotlinx.coroutines.flow.Flow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.weighttracker.data
package com.brian.weightLess.data

import androidx.room.Entity
import androidx.room.PrimaryKey
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/navigation/nav_graph.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<fragment
android:id="@+id/mainFragment"
android:name="com.example.weighttracker.MainFragment"
android:name="com.brian.weightLess.MainFragment"
android:label="main_fragment"
tools:layout="@layout/main_fragment">
<action
Expand All @@ -17,7 +17,7 @@

<dialog
android:id="@+id/weightDialogFragment"
android:name="com.example.weighttracker.WeightDialogFragment"
android:name="com.brian.weightLess.WeightDialogFragment"
android:label="WeightDialogFragment">
<argument
android:name="weightEntityId"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.weighttracker
package com.brian.weightLess

import org.junit.Test

Expand Down
Binary file added keystore
Binary file not shown.

0 comments on commit 0b57340

Please sign in to comment.