-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract :map, split up :data and :model (#37)
- Loading branch information
1 parent
1361691
commit 8ad797a
Showing
183 changed files
with
538 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<resources> | ||
|
||
<string name="app_name">!Better London Travel</string> | ||
<!-- Debug 3A:01:32:8E:53:38:57:08:8F:6C:0D:2D:2F:9C:1C:0E:5A:35:96:44;net.twisterrob.blt.debug --> | ||
<string name="gms_key_geo">AIzaSyDEBLxBF4iOGFUtzAm-Z8OeDYd-sShe_LA</string> | ||
|
||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
plugins { | ||
id("net.twisterrob.travel.android-library") | ||
} | ||
|
||
dependencies { | ||
implementation(projects.common.maptiler) | ||
api(libs.gms.maps) | ||
implementation(libs.slf4j.api) | ||
implementation(libs.androidx.fragment) | ||
implementation("net.twisterrob.lib:twister-lib-android-stringers") | ||
implementation("net.twisterrob.lib:twister-lib-stringer") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<resources> | ||
|
||
<!-- Debug 3A:01:32:8E:53:38:57:08:8F:6C:0D:2D:2F:9C:1C:0E:5A:35:96:44;net.twisterrob.blt.debug --> | ||
<!-- Debug 3A:01:32:8E:53:38:57:08:8F:6C:0D:2D:2F:9C:1C:0E:5A:35:96:44;net.twisterrob.blt.range.debug --> | ||
<string name="gms_key_geo">AIzaSyDEBLxBF4iOGFUtzAm-Z8OeDYd-sShe_LA</string> | ||
|
||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<manifest | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
> | ||
|
||
<application> | ||
|
||
<meta-data | ||
android:name="com.google.android.geo.API_KEY" | ||
android:value="@string/gms_key_geo" /> | ||
|
||
<meta-data | ||
android:name="com.google.android.gms.version" | ||
android:value="@integer/google_play_services_version" /> | ||
|
||
</application> | ||
|
||
</manifest> |
6 changes: 3 additions & 3 deletions
6
...ingers/detailed/LatLngBoundsStringer.java → ...ingers/detailed/LatLngBoundsStringer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...ng/stringers/detailed/LatLngStringer.java → ...ng/stringers/detailed/LatLngStringer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
package net.twisterrob.android.utils.tostring.stringers.detailed; | ||
|
||
import javax.annotation.Nonnull; | ||
|
||
import com.google.android.gms.maps.model.LatLng; | ||
|
||
import androidx.annotation.NonNull; | ||
|
||
import net.twisterrob.java.utils.tostring.*; | ||
|
||
public class LatLngStringer extends Stringer<LatLng> { | ||
@Override public String getType(LatLng object) { | ||
return "LatLng"; | ||
} | ||
@Override public void toString(@Nonnull ToStringAppender append, LatLng latlng) { | ||
@Override public void toString(@NonNull ToStringAppender append, LatLng latlng) { | ||
append.formattedProperty(null, null, "%f,%f", latlng.latitude, latlng.longitude); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...ng/stringers/detailed/StatusStringer.java → ...ng/stringers/detailed/StatusStringer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...ange/src/release/res/values/overrides.xml → ...onent/map/src/release/res/values/keys.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...rc/main/java/net/twisterrob/android/utils/tostring/stringers/detailed/RangeStringers.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package net.twisterrob.android.utils.tostring.stringers.detailed; | ||
|
||
import com.google.android.libraries.places.api.model.Place; | ||
|
||
import net.twisterrob.java.utils.tostring.StringerRepo; | ||
|
||
public class RangeStringers { | ||
|
||
public static void register(StringerRepo repo) { | ||
MapStringers.register(repo); | ||
repo.register(Place.class, new PlaceStringer()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ idea { | |
file(".gradle"), | ||
file("build"), | ||
file(".idea"), | ||
file("data"), | ||
file("temp"), | ||
] | ||
} | ||
|
Oops, something went wrong.