Need help with ParallaxSwipeBack?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

bushijie
399 Stars 88 Forks 3 Commits 8 Opened issues

Description

带视觉差的侧滑返回,类似于新版微信和lofter的侧滑返回效果。核心代码小于50行

Services available

!
?

Need anything else?

Contributors list

# 299,574
Java
1 commit

Android ParallaxSwipeBack

带视觉差的侧滑返回,类似于新版微信和lofter的侧滑返回效果。核心代码小于50行.
image

Usage

`public class MainActivity extends ParallaxSwipeBackActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    findViewById(R.id.next).setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            Intent intent = new Intent(MainActivity.this,NextActivity.class);
            intent.putExtra("index",0);
            startParallaxSwipeBackActivty(MainActivity.this, intent);
        }
    });

}`

Very little code, are all here ParallaxSwipeBackActivity

代码非常少,都在这里

ParallaxSwipeBackActivity

Thinks

http://blog.csdn.net/hanhailong726188/article/details/46433229

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.