https://app.uat.grandrounds.com/saml/consume
https://member.uat.grandrounds.com/home-depot-healthy-living
open class CircularImageView @JvmOverloads constructor( | |
context: Context, | |
attrs: AttributeSet? = null, | |
defStyleAttr: Int = 0 | |
) : AppCompatImageView(context, attrs, defStyleAttr) { | |
companion object { | |
private const val DEFAULT_BORDER_WIDTH = 4f | |
private const val DEFAULT_SHADOW_RADIUS = 8.0f | |
} |
import com.google.gson.annotations.SerializedName | |
data class TransactionEntry( | |
@SerializedName("erm") | |
var clientAccount: String = "" | |
) |
05-15 17:04:26.219 000-000/com.example.debug D/testing: onViewRecycled: CardAndTextViewHolder | |
onViewRecycled: SubtitleViewHolder | |
onViewRecycled: HeaderViewHolder | |
onBindViewHolder: 0 | |
// Lines 2 - 4 all have a "testing" tag, so are given this weird indentation without the <date> <time> <pid> <packageName> <tag> prefix. | |
// If you attempt to filter these logcat results with the string "onViewRecycled", | |
// it will even incorrectly still display "onBindViewHolder: 0". |
public Observable<Void> getObservable() { | |
return jobServiceObservable | |
.flatMap(new Func1<JobService, Observable<Void>>() { | |
@Override | |
public Observable<Void> call(JobService jobService) { | |
if (Looper.myLooper() == Looper.getMainLooper()) { | |
Log.d("threadtest", "on main "); | |
} else { | |
Log.d("threadtest", "not on main "); | |
} |
public Observable<JobService> getObservable() { | |
return Observable.create(new Observable.OnSubscribe<JobService>() { | |
@Override | |
public void call(final Subscriber<? super JobService> subscriber) { | |
if (jobServiceBound && jobService != null) { | |
subscriber.onNext(jobService); | |
} else { | |
jobServiceConnection = new ServiceConnection() { | |
@Override |
/** | |
* Get an observable which, when connected, will await the latch and return the service, | |
* or throw an error otherwise. | |
* @return | |
*/ | |
public Observable<JobService> getJobServiceObservable() { | |
connect(); | |
return Observable.fromCallable(new Callable<JobService>() { | |
@Override | |
public JobService call() { |
import React, { Component, PropTypes } from 'react'; | |
import ReactDOM from 'react-dom'; | |
import { Link } from 'react-router' | |
import { Route } from 'react-router-dom' | |
import ReactCSSTransitionGroup from 'react-addons-css-transition-group' | |
//Components | |
import Home from './home/Home.jsx' | |
import List from './list/List.jsx' | |
import Book from './book/Book.jsx' |
import React from 'react'; | |
import { Router, Route, browserHistory, IndexRedirect} from 'react-router'; | |
import {BrowserRouter} from 'react-router-dom' | |
import App from './App.jsx' | |
const routes = ( | |
<BrowserRouter> | |
<Route component={App}/> |