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
http://akbmag.ru/catalog/akkumulator-varta-silver-f18-85r-800a-315x175x175.html?utm_source=yamarket&utm_medium=cpc&utm_term=365&_openstat=bwfya2v0lnlhbmrlec5ydtvqkncy0ylqvtc80l7qsdc40lvrjnc90yvqusdqsnc60lrrg9c80ypqu9gp0ylqvtgaifzbulrbifnpbhzlcibgmtggkdg1uikgodaw0jag0l7qsdga0ldrgtc90ldrjydqv9c-0lvrj9ga0l3qvtgb0ylrjca4nsdqknghicgzmtv4mtc1ede3nsk7ee9swdfgy2rsrva3d3hhv082uwdfuts&frommarket=https%3a/market.yandex.ru/catalog/54856/list%3ftext%3dvarta+f18%26hid%3d90436%26glfilter%3d7893318%3a10673157%26rt%3d11%26was_redir%3d1%26rs%3dejwzilas4oissywqsvrim7qqopboibmscwedaksgg5e9ly0xl8eiq6wczbimq&ymclid=215388989258533665200001 |
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 boolean isItTimeFor() | |
{ | |
// ехал триггер через триггер | |
// видит триггер в реке триггер | |
// сунул триггер триггер в триггер | |
// триггер триггер триггер триггер | |
for( Trigger trigger : triggers ) { | |
if( trigger.isItTimeFor() ) { | |
return false; | |
} |
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
class UselessDTO | |
{ | |
public byte val1; | |
public int val2, val3; | |
} |
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 NewCallbackClient implements SimpleDispatcher.Listener { | |
public void onItemSetChanged(SimpleDispatcher dispatcher) { | |
System.out.println("onItemSetChanged"); | |
} | |
public void onItemDataChanged(SimpleDispatcher dispatcher, int itemId, int changeMask) { | |
if ((changeMask & Item.FIELD_1) != 0) { | |
System.out.println("onItemDataChanged: " + dispatcher.getItemById(itemId)); | |
} | |
} |
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 @interface EventListener { | |
String value() default ""; | |
} | |
public class AnnotationClient { | |
@EventListener(AnnotationDispatcher.EVENT_ADD) | |
public void onAdd(AnnotationDispatcher.Event event) { | |
System.out.println("onAdd"); | |
} |
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 interface ManagerInterface { | |
void onItemAdded(Item item); | |
void onItemRemoved(Item item); | |
void onItemFieldChanged(Item item); | |
void onItemAnotherFieldChanged(Item item); | |
void onItemThirdFieldChanged(Item item); | |
} |
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 interface CallbackInterface { | |
void onSomethingHappens(int data); | |
void onAnotherThingHappens(); | |
} | |
public class CallbackHost { | |
private CallbackInterface callback; | |
public CallbackHost(CallbackInterface callback) { | |
this.callback = callback; |
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
MyActivity.STATIC_VARIABLE_HACK = myComplexObject; | |
Intent intent = new Intent().setClass(this, MyActivity.class); | |
startActivity(intent); |
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.tornado.views; | |
import android.content.Context; | |
import android.content.res.TypedArray; | |
import android.graphics.Canvas; | |
import android.graphics.drawable.Drawable; | |
import android.util.AttributeSet; | |
import android.view.View; | |
import com.tornado.R; | |
import com.tornado.util.MathUtils; |