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
name | value | |
---|---|---|
A | -5 | |
B | 20 | |
C | 22 | |
D | 18 | |
E | -2 | |
F | 6 | |
G | 26 | |
H | 18 |
This file has been truncated, but you can view the full file.
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
CM31122017000000596878547 OUT 00001 | |
L01122017000000000035000 ADT 50155-NOVA MUTUM IND000000001000000000 1.1.1.2.0002 00002| 00000 | | |
L01122017000000000035000 ADT 50155-NOVA MUTUM IND000000001500000000 1.1.1.2.0002 00003| 00000 | | |
L01122017000000002348000ADT 50155 NOVA MUTUM IND 000000000004754000 2.1.1.3.0008 00004| 00000 | | |
L01122017000000002348000ADT 50155 NOVA MUTUM IND 000000000005120000 2.1.1.3.0008 00005| 00000 | | |
L011220170000000023 |
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
apply plugin: 'com.android.model.library' | |
def gpg_cpp_path = file(project(':library-so').projectDir).absolutePath + "" | |
// stlport configuration ["c++_static", "c++_shared", "gnustl_static", "gnustl_shared"] | |
// used to set stl and location of libgpg.a | |
def stlportType = "c++" | |
def stllinkType = "static" | |
model { |
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
Object first = Observable | |
.create(s -> { | |
System.out.println("hue"); | |
s.onNext(new Object()); | |
new Handler(); | |
s.onCompleted(); | |
}) | |
.subscribeOn(HandlerScheduler.from(new AsyncHandler("IO_HANDLER"))) | |
.observeOn(AndroidSchedulers.mainThread()) | |
.toBlocking() |
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
return Observable.fromCallable(MobileBackendManager::getManager) | |
.subscribeOn(HandlerScheduler.from(new CustomHandler("MCS"))) | |
.observeOn(Schedulers.io()); |
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
Observable | |
.create(s -> { | |
s.onNext(new Object()); | |
s.onCompleted(); | |
}) | |
.subscribeOn(HandlerScheduler.from(new Handler())) // just using new Handler() | |
.observeOn(AndroidSchedulers.mainThread()) | |
.subscribe(); |
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
Observable | |
.create(s -> { | |
// do some crazy stuff in "IO_HANDLER" | |
s.onNext(new Object()); | |
s.onCompleted(); | |
}) | |
.subscribeOn(HandlerScheduler.from(new CustomHandler("IO_HANDLER"))) | |
.observeOn(AndroidSchedulers.mainThread()) // don't forget to switch back to MainThread. | |
.subscribe(); |
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.HandlerThread; | |
import android.os.Looper; | |
import android.os.Message; | |
import android.os.Process; | |
import java.util.concurrent.Semaphore; | |
public class CustomHandler extends Handler { |
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 PushIntentService extends IntentService { | |
@Override | |
protected void onHandleIntent(Intent intent) { | |
handleNotification(intent.getExtras()); | |
} | |
private void handleNotification(Bundle extras) { | |
NotificationManager mNotificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); |
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.app.Activity; | |
import android.support.v7.app.ActionBarActivity; | |
import android.support.v7.app.ActionBar; | |
import android.support.v4.app.Fragment; | |
import android.support.v4.app.FragmentManager; | |
import android.content.Context; | |
import android.os.Build; | |
import android.os.Bundle; | |
import android.view.Gravity; |
NewerOlder