Skip to content

Commit

Permalink
Merge pull request #8 from aastha01chauhan/test
Browse files Browse the repository at this point in the history
Fixed the errors
  • Loading branch information
whiteHatpro authored Jan 11, 2022
2 parents e4960ce + c219c4a commit 44d9887
Show file tree
Hide file tree
Showing 15 changed files with 27 additions and 22 deletions.
3 changes: 1 addition & 2 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
}

defaultConfig {
applicationId "com.alterpat.budgettracker"
applicationId "com.gdsciet.budgettracker"
minSdkVersion 24
targetSdkVersion 30
versionCode 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alterpat.budgettracker
package com.gdsciet.budgettracker

import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4
Expand All @@ -19,6 +19,6 @@ class ExampleInstrumentedTest {
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
assertEquals("com.alterpat.budgettracker", appContext.packageName)
assertEquals("com.gdsciet.budgettracker", appContext.packageName)
}
}
10 changes: 5 additions & 5 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.alterpat.budgettracker">
package="gdsciet.budgettracker">



Expand All @@ -11,11 +11,11 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity"/>
<activity android:name=".DetailedActivity" />
<activity android:name=".AddTransactionActivity" />
<activity android:name="com.gdsciet.budgettracker.MainActivity"/>
<activity android:name="com.gdsciet.budgettracker.DetailedActivity" />
<activity android:name="com.gdsciet.budgettracker.AddTransactionActivity" />
<activity
android:name=".SplashScreen"
android:name="com.gdsciet.budgettracker.SplashScreen"
android:exported="true"
android:theme="@style/Theme.AppCompat.Light.NoActionBar">
<intent-filter>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package com.alterpat.budgettracker
package com.gdsciet.budgettracker

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.core.widget.addTextChangedListener
import androidx.room.Room
import gdsciet.budgettracker.R
import kotlinx.android.synthetic.main.activity_add_transaction.*
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alterpat.budgettracker
package com.gdsciet.budgettracker

import androidx.room.Database
import androidx.room.RoomDatabase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alterpat.budgettracker
package com.gdsciet.budgettracker

import android.content.Context
import androidx.appcompat.app.AppCompatActivity
Expand All @@ -7,6 +7,7 @@ import android.view.View
import android.view.inputmethod.InputMethodManager
import androidx.core.widget.addTextChangedListener
import androidx.room.Room
import gdsciet.budgettracker.R
import kotlinx.android.synthetic.main.activity_add_transaction.*
import kotlinx.android.synthetic.main.activity_add_transaction.amountInput
import kotlinx.android.synthetic.main.activity_add_transaction.amountLayout
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alterpat.budgettracker
package com.gdsciet.budgettracker

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
Expand All @@ -10,6 +10,7 @@ import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import androidx.room.Room
import com.google.android.material.snackbar.Snackbar
import gdsciet.budgettracker.R
import kotlinx.android.synthetic.main.activity_add_transaction.*
import kotlinx.android.synthetic.main.activity_main.*
import kotlinx.coroutines.GlobalScope
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package com.alterpat.budgettracker
package com.gdsciet.budgettracker

import android.content.Intent
import android.os.Bundle
import android.os.Handler
import android.view.WindowManager
import androidx.appcompat.app.AppCompatActivity
import gdsciet.budgettracker.R

@Suppress("DEPRECATION")
class SplashScreen : AppCompatActivity() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package com.alterpat.budgettracker
package com.gdsciet.budgettracker

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.Ignore
import androidx.room.PrimaryKey
import java.io.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alterpat.budgettracker
package com.gdsciet.budgettracker

import android.content.Intent
import android.view.LayoutInflater
Expand All @@ -7,6 +7,7 @@ import android.view.ViewGroup
import android.widget.TextView
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.RecyclerView
import gdsciet.budgettracker.R

class TransactionAdapter(private var transactions: List<Transaction>) :
RecyclerView.Adapter<TransactionAdapter.TransactionHolder>() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alterpat.budgettracker
package com.gdsciet.budgettracker

import androidx.room.*

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alterpat.budgettracker
package com.gdsciet.budgettracker

import org.junit.Test

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Thu Apr 08 18:36:21 CEST 2021

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit 44d9887

Please sign in to comment.