Skip to content

Commit

Permalink
Updates class visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
chintak369promact committed Dec 2, 2021
1 parent 3b535e7 commit b3572ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import android.net.*
import android.os.Build
import androidx.lifecycle.LiveData

class ConnectionLiveData(private val context: Context) : LiveData<Boolean>() {
internal class ConnectionLiveData(private val context: Context) : LiveData<Boolean>() {

private var connectivityManager: ConnectivityManager = context.getSystemService(CONNECTIVITY_SERVICE) as ConnectivityManager

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.creative.ipfyandroid
import retrofit2.Call
import retrofit2.http.GET

interface IpfyService {
internal interface IpfyService {

@GET("?format=json")
fun getPublicIpAddress(): Call<IpifyResponse>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package com.creative.ipfyandroid

data class IpifyResponse(val ip: String)
internal data class IpifyResponse(val ip: String)

0 comments on commit b3572ae

Please sign in to comment.