-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
maning
committed
Oct 18, 2017
1 parent
c0bd687
commit cc75249
Showing
4 changed files
with
86 additions
and
31 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,6 +87,7 @@ | |
## 更新日志: | ||
### V1.6.7 (2017-8-23): | ||
1.Umeng统计页面的修复 | ||
2.修复省份天气获取失败Bug | ||
2.待定... | ||
|
||
### V1.6.6 (2017-7-15): | ||
|
59 changes: 59 additions & 0 deletions
59
app/src/main/java/com/maning/gankmm/bean/PicSizeEntity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
package com.maning.gankmm.bean; | ||
|
||
|
||
/** | ||
* Created by maning on 2017/10/18. | ||
* 首页加载图片缓存宽高,防止出现滑动图片改变高度问题 | ||
*/ | ||
|
||
public class PicSizeEntity { | ||
|
||
private String picUrl; | ||
private int picWidth; | ||
private int picHeight; | ||
|
||
public PicSizeEntity() { | ||
} | ||
|
||
public PicSizeEntity(int picWidth, int picHeight) { | ||
this.picWidth = picWidth; | ||
this.picHeight = picHeight; | ||
} | ||
|
||
public String getPicUrl() { | ||
return picUrl; | ||
} | ||
|
||
public void setPicUrl(String picUrl) { | ||
this.picUrl = picUrl; | ||
} | ||
|
||
public int getPicWidth() { | ||
return picWidth; | ||
} | ||
|
||
public void setPicWidth(int picWidth) { | ||
this.picWidth = picWidth; | ||
} | ||
|
||
public int getPicHeight() { | ||
return picHeight; | ||
} | ||
|
||
public void setPicHeight(int picHeight) { | ||
this.picHeight = picHeight; | ||
} | ||
|
||
public boolean isNull() { | ||
return picHeight == 0 || picWidth == 0; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "PicSizeEntity{" + | ||
"picUrl='" + picUrl + '\'' + | ||
", picWidth=" + picWidth + | ||
", picHeight=" + picHeight + | ||
'}'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters