Skip to content

Instantly share code, notes, and snippets.

@Logan676 Logan676/
Last active Mar 11, 2017

What would you like to do?
public static void start(Activity context, BooksBean positionData, ImageView imageView) {
Intent intent = new Intent(context, BookDetailActivity.class);
intent.putExtra(EXTRA_PARAM, positionData);
ActivityOptionsCompat options =
imageView, CommonUtils.getString(R.string.transition_book_img));//与xml文件对应
ActivityCompat.startActivity(context, intent, options.toBundle());
RxBus.getDefault().toObservable(RxCodeConstants.JUMP_TYPE_TO_ONE, RxBusBaseMessage.class)
.subscribe(new Action1<RxBusBaseMessage>() {
public void call(RxBusBaseMessage integer) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.