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
import android.content.Context | |
import android.content.SharedPreferences | |
import android.preference.PreferenceManager | |
import java.util.* | |
class RefreshStrategy(c: Context) { | |
private val map: MutableMap<Class<*>, Long> = hashMapOf() | |
private val forceRefresh: MutableMap<Class<*>, Boolean> = hashMapOf() |
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
package com.azconception.taxi.broadcast; | |
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.net.ConnectivityManager; | |
import android.util.Log; | |
/** | |
* Created by do_f on 28/07/16. |
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
import android.util.Log; | |
import android.view.View; | |
import android.widget.AdapterView; | |
/** | |
* Created by do_f on 20/06/16. | |
*/ | |
public abstract class CustomOnItemSelectedListener implements AdapterView.OnItemSelectedListener { | |
@Override |