自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 在非Activity类中调用startActivityForResult()

问题写代码需要在一个非Activity的普通类中调用startActicityForResult()。但是一下两个写法都是不行的。holder.GoodItemView.setOnClickListener(newView.OnClickListener() { @Override public void onClick(View view) { //

2017-10-23 20:15:46 4077 4

原创 java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive

情况写安卓,跑代码。程序异常终止,抛出错误。java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a b

2017-10-23 17:04:06 671 2

原创 Error inflating class android.support.design.widget.FloatingActionButton

问题安卓写FloatingActionButton,怎么都跑不起来,报错Error inflating class android.support.design.widget.FloatingActionButton尝试上网查,说什么 1. 改“android”空间为”app”,http://blog.csdn.net/mayuko2012/article/details/73351105 2.

2017-10-22 08:38:22 657

原创 【算法设计作业】week5

1.Divide Two Integers来源:https://leetcode.com/problems/divide-two-integers/description/题意给出两个int数a,b,要求计算他们的商,不能使用乘、除、取模。思路很直接想法按照除法的定义,当a,b都大于0时,a不断减b,直到余数比b小,记录一共减了多少次,就是所求的答案。但是这样...

2017-10-03 22:19:14 375

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除