BlurifyActivity.java 文件源码

java
阅读 18 收藏 0 点赞 0 评论 0

项目:Blurify 作者:
@Override
public boolean onOptionsItemSelected(MenuItem item) {
    switch (item.getItemId()) {
        case android.R.id.home:
            closeAbout();
            return true;
        case R.id.menu_about:
            about();
            return true;
        case R.id.menu_contribute:
            new AlertDialogWrapper.Builder(this)
                    .setTitle(R.string.contribute)
                    .setMessage(R.string.contribute_text)
                    .setPositiveButton(R.string.contribute_go, new DialogInterface.OnClickListener() {
                        @Override
                        public void onClick(DialogInterface dialog, int which) {
                            Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://github.com/chteuchteu/Blurify"));
                            startActivity(browserIntent);
                        }
                    })
                    .show();
            return true;
    }
    return true;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号