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.os.Handler; | |
import android.os.Looper; | |
import android.util.Log; | |
import android.view.animation.Animation; | |
import java.util.ArrayList; | |
import java.util.Iterator; | |
import java.util.concurrent.CountDownLatch; | |
/** |
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
public class ExtendedMapView extends MapView { | |
private BaseContext baseContext; | |
public ExtendedMapView(Context context) { | |
super(context); | |
baseContext = (BaseContext) context.getApplicationContext(); | |
restorePosition(); | |
} |
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
-printusage unused.txt | |
-dontusemixedcaseclassnames | |
-dontskipnonpubliclibraryclasses | |
-verbose | |
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/* | |
-printmapping out.map | |
-dontpreverify |
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
Process: Xcode [42461] | |
Path: /Applications/Xcode.app/Contents/MacOS/Xcode | |
Identifier: com.apple.dt.Xcode | |
Version: 7.0.1 (8228) | |
Build Info: IDEFrameworks-8228000000000000~5 | |
App Item ID: 497799835 | |
App External ID: 813434267 | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Xcode [42461] |
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
//Implement this interface in classes that can handle events | |
public interface HasRxBusEvent { | |
void onEvent(RxBusEvent event); | |
} |
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
public class LI01Fragment extends BaseFragment { | |
public final static int DISCOUNTED_TAB = 99; | |
SlidingTabLayout slidingTabs; | |
ViewPager viewPager; | |
ArrayList<CarsPagerItem> mTabs; | |
LinearLayout blankSlate; | |
DrawerLayout filterDrawer; | |
ActionBarDrawerToggle drawerToggle; |
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
interface ConsistencyManagerContract { | |
fun notifyUpdateModel(model: Any) | |
fun notifyUpdateClass(kclass: KClass<*>) | |
fun subscribe(modelClass: KClass<*>, callback: WeakReference<(Any?) -> Unit>) | |
} | |
class ConsistencyManager : ConsistencyManagerContract { | |
private val subscriptionsMap: MutableMap<KClass<*>, MutableList<WeakReference<(Any?) -> Unit>>> = mutableMapOf() | |
override fun notifyUpdateModel(model: Any) { |
OlderNewer