Adds some TODOs.

This commit is contained in:
Tom Hicks
2021-06-25 23:32:54 -07:00
parent 656bf3e5c5
commit a59e9d438a
5 changed files with 8 additions and 3 deletions

View File

@@ -26,6 +26,7 @@ import com.majinnaibu.monstercards.utils.Logger;
import com.majinnaibu.monstercards.utils.TextChangedListener; import com.majinnaibu.monstercards.utils.TextChangedListener;
public class EditLanguagesFragment extends MCFragment { public class EditLanguagesFragment extends MCFragment {
// TODO: Make the swipe to delete not happen for the header
private EditMonsterViewModel mViewModel; private EditMonsterViewModel mViewModel;
private ViewHolder mHolder; private ViewHolder mHolder;
@@ -95,4 +96,4 @@ public class EditLanguagesFragment extends MCFragment {
this.addLanguage = root.findViewById(R.id.add_language); this.addLanguage = root.findViewById(R.id.add_language);
} }
} }
} }

View File

@@ -24,6 +24,7 @@ import com.majinnaibu.monstercards.utils.Logger;
import com.majinnaibu.monstercards.utils.TextChangedListener; import com.majinnaibu.monstercards.utils.TextChangedListener;
public class EditSkillFragment extends MCFragment { public class EditSkillFragment extends MCFragment {
// TODO: when this view is shown select focus on the name edit text and select it's contents
private EditMonsterViewModel mEditMonsterViewModel; private EditMonsterViewModel mEditMonsterViewModel;
private EditSkillViewModel mViewModel; private EditSkillViewModel mViewModel;
private ViewHolder mHolder; private ViewHolder mHolder;

View File

@@ -21,6 +21,7 @@ import com.majinnaibu.monstercards.utils.Logger;
import com.majinnaibu.monstercards.utils.TextChangedListener; import com.majinnaibu.monstercards.utils.TextChangedListener;
public class EditStringFragment extends MCFragment { public class EditStringFragment extends MCFragment {
// TODO: when this fragment is shown focus on the edit text and select it's contents
private EditMonsterViewModel mEditMonsterViewModel; private EditMonsterViewModel mEditMonsterViewModel;
private EditStringViewModel mViewModel; private EditStringViewModel mViewModel;
private ViewHolder mHolder; private ViewHolder mHolder;

View File

@@ -15,6 +15,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<!-- // TODO: Make this a stepper instead of a text field -->
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@@ -38,6 +39,7 @@
android:text="@string/label_has_a_shield" android:text="@string/label_has_a_shield"
android:textSize="20sp" /> android:textSize="20sp" />
<!-- // TODO: Make this a stepper instead of a text field -->
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@@ -68,4 +70,4 @@
tools:text="John Doe" /> tools:text="John Doe" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>

View File

@@ -86,7 +86,7 @@
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
<!-- Hit Dice (int) --> <!-- Hit Dice (int) -->
<!-- // TODO: Make this a stepper instead of a text field -->
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"