File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
source-code/app/src/main/java/org/buildmlearn/toolkit Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ public int getColor() {
166166 public enum ListDarkColor {
167167 BLUE ("#1F7D9F" ),
168168 GREEN ("#155E51" ),
169- ORANGE ("#739A26 " ),
169+ ORANGE ("#E65100 " ),
170170 RED ("#B82C2D" ),
171171 GRAYISH ("#5A6C75" ),
172172 PURPLE ("#80358D" ),
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ abstract class ComprehensionAdapter extends RecyclerView.Adapter<RecyclerView.Vi
4444
4545 private static final int TYPE_HEADER = 0 ;
4646 private static final int TYPE_ITEM = 1 ;
47- private static Context context ;
47+ private Context context ;
4848 private final ArrayList <ComprehensionModel > comprehensionData ;
4949 private int expandedPostion = -1 ;
5050
@@ -399,6 +399,7 @@ private static class HeaderHolder extends RecyclerView.ViewHolder {
399399 HeaderHolder (View itemView ) {
400400 super (itemView );
401401 this .view = itemView ;
402+ Context context = itemView .getContext ();
402403 authorEditText = (EditText ) itemView .findViewById (R .id .author_name );
403404 titleEditText = (EditText ) itemView .findViewById (R .id .template_title );
404405 listView = (ListView ) itemView .findViewById (R .id .template_meta_listview );
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ abstract class MatchAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
3333
3434 private static final int TYPE_HEADER = 0 ;
3535 private static final int TYPE_ITEM = 1 ;
36- private static Context context ;
36+ private Context context ;
3737 private final ArrayList <MatchModel > matchData ;
3838
3939 protected abstract boolean onLongItemClick (int position , View view );
@@ -184,6 +184,7 @@ private static class HeaderHolder extends RecyclerView.ViewHolder {
184184
185185 HeaderHolder (View itemView ) {
186186 super (itemView );
187+ Context context = itemView .getContext ();
187188 authorEditText = (EditText ) itemView .findViewById (R .id .author_name );
188189 titleEditText = (EditText ) itemView .findViewById (R .id .template_title );
189190 listView = (ListView ) itemView .findViewById (R .id .template_meta_listview );
You can’t perform that action at this time.
0 commit comments