Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
likorn
/
vocabulary_notebook
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
69231cf1
authored
Nov 13, 2018
by
Paktalin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed log imports for release
parent
be8a3afa
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
5 deletions
app/src/main/java/com/paktalin/vocabularynotebook/ui/activities/LogInActivity.kt
app/src/main/java/com/paktalin/vocabularynotebook/ui/fragments/VocabularyFragment.kt
app/src/main/java/com/paktalin/vocabularynotebook/utils/FirestoreManager.kt
app/src/main/java/com/paktalin/vocabularynotebook/utils/Log.kt
app/src/main/java/com/paktalin/vocabularynotebook/utils/UserManager.kt
app/src/main/java/com/paktalin/vocabularynotebook/ui/activities/LogInActivity.kt
View file @
69231cf1
...
@@ -2,7 +2,6 @@ package com.paktalin.vocabularynotebook.ui.activities
...
@@ -2,7 +2,6 @@ package com.paktalin.vocabularynotebook.ui.activities
import
android.support.v7.app.AppCompatActivity
import
android.support.v7.app.AppCompatActivity
import
android.os.Bundle
import
android.os.Bundle
import
android.util.Log
import
com.paktalin.vocabularynotebook.*
import
com.paktalin.vocabularynotebook.*
import
com.paktalin.vocabularynotebook.utils.*
import
com.paktalin.vocabularynotebook.utils.*
...
...
app/src/main/java/com/paktalin/vocabularynotebook/ui/fragments/VocabularyFragment.kt
View file @
69231cf1
...
@@ -2,11 +2,9 @@ package com.paktalin.vocabularynotebook.ui.fragments
...
@@ -2,11 +2,9 @@ package com.paktalin.vocabularynotebook.ui.fragments
import
android.os.Bundle
import
android.os.Bundle
import
android.support.v4.app.Fragment
import
android.support.v4.app.Fragment
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
import
com.google.firebase.Timestamp
import
com.google.firebase.firestore.DocumentSnapshot
import
com.google.firebase.firestore.DocumentSnapshot
import
com.paktalin.vocabularynotebook.*
import
com.paktalin.vocabularynotebook.*
import
com.paktalin.vocabularynotebook.Vocabulary
import
com.paktalin.vocabularynotebook.Vocabulary
...
@@ -14,6 +12,7 @@ import com.paktalin.vocabularynotebook.firestoreitems.WordItem
...
@@ -14,6 +12,7 @@ import com.paktalin.vocabularynotebook.firestoreitems.WordItem
import
com.paktalin.vocabularynotebook.ui.activities.MainActivity
import
com.paktalin.vocabularynotebook.ui.activities.MainActivity
import
com.paktalin.vocabularynotebook.ui.views.LockableLayoutManager
import
com.paktalin.vocabularynotebook.ui.views.LockableLayoutManager
import
com.paktalin.vocabularynotebook.utils.FirestoreManager
import
com.paktalin.vocabularynotebook.utils.FirestoreManager
import
com.paktalin.vocabularynotebook.utils.Log
import
kotlinx.android.synthetic.main.fragment_vocabulary.*
import
kotlinx.android.synthetic.main.fragment_vocabulary.*
class
VocabularyFragment
:
Fragment
()
{
class
VocabularyFragment
:
Fragment
()
{
...
...
app/src/main/java/com/paktalin/vocabularynotebook/utils/FirestoreManager.kt
View file @
69231cf1
package
com.paktalin.vocabularynotebook.utils
package
com.paktalin.vocabularynotebook.utils
import
android.content.Context
import
android.content.Context
import
android.util.Log
import
com.google.firebase.auth.FirebaseAuth
import
com.google.firebase.auth.FirebaseAuth
import
com.google.firebase.auth.FirebaseUser
import
com.google.firebase.auth.FirebaseUser
import
com.google.firebase.firestore.DocumentReference
import
com.google.firebase.firestore.DocumentReference
...
...
app/src/main/java/com/paktalin/vocabularynotebook/utils/Log.kt
0 → 100644
View file @
69231cf1
package
com.paktalin.vocabularynotebook.utils
import
com.paktalin.vocabularynotebook.BuildConfig
object
Log
{
private
val
LOG
=
BuildConfig
.
DEBUG
fun
i
(
tag
:
String
,
string
:
String
)
{
if
(
LOG
)
android
.
util
.
Log
.
i
(
tag
,
string
)
}
fun
e
(
tag
:
String
,
string
:
String
)
{
if
(
LOG
)
android
.
util
.
Log
.
e
(
tag
,
string
)
}
fun
d
(
tag
:
String
,
string
:
String
)
{
if
(
LOG
)
android
.
util
.
Log
.
d
(
tag
,
string
)
}
fun
v
(
tag
:
String
,
string
:
String
)
{
if
(
LOG
)
android
.
util
.
Log
.
v
(
tag
,
string
)
}
fun
w
(
tag
:
String
,
string
:
String
)
{
if
(
LOG
)
android
.
util
.
Log
.
w
(
tag
,
string
)
}
fun
w
(
tag
:
String
,
string
:
String
,
exception
:
Throwable
?)
{
if
(
LOG
)
android
.
util
.
Log
.
w
(
tag
,
string
,
exception
)
}
fun
i
(
tag
:
String
,
string
:
String
,
exception
:
Throwable
?)
{
if
(
LOG
)
android
.
util
.
Log
.
i
(
tag
,
string
,
exception
)
}
fun
d
(
tag
:
String
,
string
:
String
,
exception
:
Throwable
?)
{
if
(
LOG
)
android
.
util
.
Log
.
d
(
tag
,
string
,
exception
)
}
}
app/src/main/java/com/paktalin/vocabularynotebook/utils/UserManager.kt
View file @
69231cf1
package
com.paktalin.vocabularynotebook.utils
package
com.paktalin.vocabularynotebook.utils
import
android.util.Log
import
com.google.firebase.auth.FirebaseAuth
import
com.google.firebase.auth.FirebaseAuth
import
com.google.firebase.auth.FirebaseUser
import
com.google.firebase.auth.FirebaseUser
import
com.paktalin.vocabularynotebook.R
import
com.paktalin.vocabularynotebook.R
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment