Skip to content

Commit 5452222

Browse files
committed
initial commit
0 parents  commit 5452222

File tree

137 files changed

+4420
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+4420
-0
lines changed

Diff for: .gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/workspace.xml
5+
/.idea/libraries
6+
.DS_Store
7+
/build
8+
/captures
9+
.externalNativeBuild

Diff for: .idea/compiler.xml

+22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/copyright/profiles_settings.xml

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/encodings.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/gradle.xml

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/markdown-navigator.xml

+72
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/markdown-navigator/profiles_settings.xml

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/misc.xml

+33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/modules.xml

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/runConfigurations.xml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# travelog-android

Diff for: app/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/build
2+
3+
google-services.json

Diff for: app/build.gradle

+79
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
apply plugin: 'com.android.application'
2+
apply plugin: 'realm-android'
3+
4+
android {
5+
compileSdkVersion 27
6+
buildToolsVersion "27.0.3"
7+
defaultConfig {
8+
applicationId "com.travlog.android.apps"
9+
minSdkVersion 15
10+
targetSdkVersion 27
11+
multiDexEnabled true
12+
13+
versionCode 1
14+
versionName "0.0.1"
15+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
16+
}
17+
buildTypes {
18+
release {
19+
minifyEnabled false
20+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
21+
}
22+
}
23+
24+
compileOptions {
25+
sourceCompatibility JavaVersion.VERSION_1_8
26+
targetCompatibility JavaVersion.VERSION_1_8
27+
}
28+
}
29+
30+
dependencies {
31+
configurations {
32+
all*.exclude group: 'com.android.support', module: 'support-v13'
33+
}
34+
35+
implementation fileTree(dir: 'libs', include: ['*.jar'])
36+
implementation 'com.android.support:appcompat-v7:27.1.1'
37+
implementation 'com.android.support:design:27.1.1'
38+
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
39+
testImplementation 'junit:junit:4.12'
40+
androidTestImplementation 'com.android.support.test:runner:1.0.2'
41+
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
42+
43+
implementation 'com.android.support:multidex:1.0.3'
44+
45+
implementation 'com.facebook.stetho:stetho:1.5.0'
46+
implementation 'com.uphyca:stetho_realm:2.1.0'
47+
48+
implementation 'com.google.firebase:firebase-database:15.0.0'
49+
implementation 'com.google.android.gms:play-services-auth:15.0.0'
50+
51+
implementation 'com.google.dagger:dagger:2.11'
52+
annotationProcessor 'com.google.dagger:dagger-compiler:2.11'
53+
54+
implementation 'com.jakewharton.timber:timber:4.7.0'
55+
56+
implementation "io.reactivex.rxjava2:rxjava:2.1.12"
57+
implementation 'com.trello.rxlifecycle2:rxlifecycle-android:2.2.1'
58+
implementation 'com.trello.rxlifecycle2:rxlifecycle-components:2.2.1'
59+
implementation 'com.jakewharton.rxbinding2:rxbinding:2.1.1'
60+
61+
implementation 'com.jakewharton:butterknife:8.8.1'
62+
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
63+
64+
implementation 'com.facebook.android:facebook-login:4.29.0'
65+
66+
implementation 'io.realm:android-adapters:2.1.1'
67+
implementation 'joda-time:joda-time:2.9.9'
68+
69+
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
70+
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
71+
implementation 'com.squareup.retrofit2:adapter-rxjava:2.3.0'
72+
implementation 'com.squareup.okhttp3:logging-interceptor:3.8.1'
73+
74+
implementation 'com.github.bumptech.glide:glide:4.6.1'
75+
annotationProcessor 'com.github.bumptech.glide:compiler:4.6.1'
76+
implementation 'com.github.arimorty:floatingsearchview:2.1.1'
77+
implementation 'com.wdullaer:materialdatetimepicker:3.5.0'
78+
}
79+
apply plugin: 'com.google.gms.google-services'

Diff for: app/proguard-rules.pro

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in /Users/Fobid/Documents/android-sdks/tools/proguard/proguard-android.txt
4+
# You can edit the include path and order by changing the proguardFiles
5+
# directive in build.gradle.
6+
#
7+
# For more details, see
8+
# http://developer.android.com/guide/developing/tools/proguard.html
9+
10+
# Add any project specific keep options here:
11+
12+
# If your project uses WebView with JS, uncomment the following
13+
# and specify the fully qualified class name to the JavaScript interface
14+
# class:
15+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16+
# public *;
17+
#}
18+
19+
# Uncomment this to preserve the line number information for
20+
# debugging stack traces.
21+
#-keepattributes SourceFile,LineNumberTable
22+
23+
# If you keep the line number information, uncomment this to
24+
# hide the original source file name.
25+
#-renamesourcefileattribute SourceFile
26+
27+
# retrolambda
28+
-dontwarn java.lang.invoke.*
29+
-dontwarn **$$Lambda$*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
package com.travlog.android;
2+
3+
import android.content.Context;
4+
import android.support.test.InstrumentationRegistry;
5+
import android.support.test.runner.AndroidJUnit4;
6+
7+
import org.junit.Test;
8+
import org.junit.runner.RunWith;
9+
10+
import static org.junit.Assert.*;
11+
12+
/**
13+
* Instrumentation test, which will execute on an Android device.
14+
*
15+
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
16+
*/
17+
@RunWith(AndroidJUnit4.class)
18+
public class ExampleInstrumentedTest {
19+
@Test
20+
public void useAppContext() throws Exception {
21+
// Context of the app under test.
22+
Context appContext = InstrumentationRegistry.getTargetContext();
23+
24+
assertEquals("com.tfc.travelnote", appContext.getPackageName());
25+
}
26+
}

Diff for: app/src/main/AndroidManifest.xml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.travlog.android.apps">
4+
5+
<uses-permission android:name="android.permission.INTERNET" />
6+
7+
<application
8+
android:name=".TravlogApplication"
9+
android:allowBackup="true"
10+
android:icon="@mipmap/ic_launcher"
11+
android:label="@string/app_name"
12+
android:roundIcon="@mipmap/ic_launcher_round"
13+
android:supportsRtl="true"
14+
android:theme="@style/TravlogTheme">
15+
16+
<activity
17+
android:name=".ui.activities.SplashActivity"
18+
android:theme="@style/TravlogTheme.Splash">
19+
20+
<intent-filter>
21+
<action android:name="android.intent.action.MAIN" />
22+
23+
<category android:name="android.intent.category.LAUNCHER" />
24+
</intent-filter>
25+
</activity>
26+
27+
<activity
28+
android:name=".ui.activities.SignInActivity"
29+
android:theme="@style/TravlogTheme.SignIn" />
30+
</application>
31+
32+
</manifest>

0 commit comments

Comments
 (0)