Skip to content

Commit

Permalink
[add][location_module]: adds location manager
Browse files Browse the repository at this point in the history
  • Loading branch information
AmitGupta1994 committed May 26, 2019
1 parent 5b986bd commit 0b0d958
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .idea/vcs.xml

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package com.amitgupta.locationmodule

class TestActivity {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.amitgupta.locationmodule

interface LocationManager {

fun getCurrentLocation(onCurrentLocationFetch:()->Unit)
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.amitgupta.locationmodule

import android.content.Context

class LocationManagerImpl(context: Context): LocationManager{
override fun getCurrentLocation(onCurrentLocationFetch: () -> Unit) {
}
}

0 comments on commit 0b0d958

Please sign in to comment.