Skip to content

Commit

Permalink
chore: change some variable to final
Browse files Browse the repository at this point in the history
  • Loading branch information
Bambooin committed Sep 1, 2021
1 parent d969cd4 commit ffeeef5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

public class ClipboardAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
private final Context myContext;
private List<SimpleKeyBean> list;
private final List<SimpleKeyBean> list;
private int keyMarginX, keyMarginTop;
private Integer textColor;
private float textSize;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public class ClipboardBean extends SimpleKeyBean {
private long time;
private String text;
private String html;
private final String html;
private int type;

public long getTime() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ public class LiquidKeyboard {
private ClipboardAdapter mClipboardAdapter;
private SimpleAdapter simpleAdapter;
private List<SimpleKeyBean> clipboardBeanList;
private List<SimpleKeyBean> simpleKeyBeans, historyBeans;
private final List<SimpleKeyBean> simpleKeyBeans;
private List<SimpleKeyBean> historyBeans;
private int margin_x, margin_top, single_width, parent_width, clipboard_max_size;

private int keyHeight;
Expand Down

0 comments on commit ffeeef5

Please sign in to comment.