Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring Custom Views #316

Open
wants to merge 32 commits into
base: main
Choose a base branch
from

Conversation

codeguru42
Copy link
Member

No description provided.

`CheckableLInearLayout` is now responsible for all interaction with the wrapped
 `CheckBox`. `BaseballCardView` and `HeaderView` no longer extend
 `CheckableLinearLayout` and only manage their own `TextView`s.
@codeguru42 codeguru42 modified the milestone: 0.6.3 Nov 2, 2014
@codeguru42 codeguru42 self-assigned this Nov 2, 2014
@codeguru42
Copy link
Member Author

Currently FilterCardsTest#testSaveInstanceState() is broken. In fact, something very weird is happening. The checkbox state for the Brand, Year, Number, and Player Name fields is not saved and restored during an orientation change. On the other hand, if the Team field is checked and the orientation is changed, all of the checkboxes become checked when the Activity is recreated.

# Conflicts:
#	gradle/android/src/androidTest/java/bbct/android/common/activity/test/BaseballCardDetailsPartialInputTest.java
#	gradle/android/src/androidTest/java/bbct/android/common/activity/test/BaseballCardDetailsTest.java
#	gradle/android/src/androidTest/java/bbct/android/common/activity/test/BaseballCardListWithDataTest.java
#	gradle/android/src/androidTest/java/bbct/android/common/activity/test/FilterCardsTest.java
#	gradle/android/src/androidTest/java/bbct/android/common/layout/test/BaseballCardDetailsLayoutTest.java
#	gradle/android/src/androidTest/java/bbct/android/common/layout/test/FilterCardsLayoutTest.java
#	gradle/android/src/androidTest/java/bbct/android/common/test/BBCTTestUtil.java
#	gradle/android/src/main/java/bbct/android/common/activity/FilterCards.java
#	gradle/android/src/main/java/bbct/android/common/activity/MainActivity.java
#	gradle/android/src/main/res/layout/filter_cards.xml
# Conflicts:
#	android/src/main/java/bbct/android/common/activity/MainActivity.java
#	android/src/main/res/layout/baseball_card.xml
#	android/src/main/res/layout/list_header.xml
@codeguru42 codeguru42 modified the milestones: 0.6.5, 0.6.6 Sep 6, 2016
@codeguru42 codeguru42 modified the milestone: 0.6.6 Oct 5, 2016
# Conflicts:
#	android/src/androidTest/java/bbct/android/common/activity/test/BaseballCardDetailsWithDataTest.java
#	android/src/androidTest/java/bbct/android/common/activity/test/FilterCardsTest.java
#	android/src/androidTest/java/bbct/android/common/functional/test/survey/Survey2DialogTest.java
#	android/src/androidTest/java/bbct/android/common/layout/test/FilterCardsLayoutTest.java
#	android/src/androidTest/java/bbct/android/common/test/BBCTTestUtil.java
#	android/src/main/java/bbct/android/common/activity/BaseballCardDetails.java
#	android/src/main/java/bbct/android/common/activity/BaseballCardList.java
#	android/src/premium/java/bbct/android/premium/provider/PremiumSQLHelper.java
# Conflicts:
#	android/src/androidTest/java/bbct/android/common/activity/test/BaseballCardListWithDataTest.java
#	android/src/androidTest/java/bbct/android/common/activity/test/FilterCardsTest.java
#	android/src/androidTest/java/bbct/android/common/test/BBCTTestUtil.java
#	android/src/main/java/bbct/android/common/activity/FilterCards.java
#	android/src/main/java/bbct/android/common/provider/BaseballCardAdapter.java
@codeguru42 codeguru42 changed the base branch from devel/android to main September 26, 2021 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant