Skip to content

Navigation Menu

Sign in
Sign up
This repository was archived by the owner on May 21, 2026. It is now read-only.

Fixes #604 Handles orientation change in Memory Graph Activity - #605

Open
AkshobhyaP wants to merge 1 commit into
fossasia:development from
AkshobhyaP:fixes_#604
Open

Fixes #604 Handles orientation change in Memory Graph Activity #605
AkshobhyaP wants to merge 1 commit into
fossasia:development from
AkshobhyaP:fixes_#604

Conversation

@AkshobhyaP

@AkshobhyaP AkshobhyaP commented Jan 26, 2020

Copy link
Copy Markdown
Member

Fixes #604

Changes:
Handled Orientation change in Memory Graph activity .Now the slected fragment is retained after orientation change.

Screenshot/s for the changes:
20200126_222945

Checklist:

  • I have used resources from strings.xml, dimens.xml and colors.xml without hard-coding them
  • No modifications done at the end of resource files strings.xml, dimens.xml or colors.xml
  • I have reformatted code in every file included in this PR [CTRL+ALT+L]
  • My code does not contain any extra lines or extra spaces
  • I have requested reviews from other members

APK for testing:
feature.zip

jddeep commented Jan 29, 2020

Copy link
Copy Markdown
Member

@AkshobhyaP Please squash your commits into one.

selectedFragment.setArguments(bundle);
FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
transaction.replace(R.id.frame_layout, selectedFragment);
defaultProgram=selectedFragment;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reformat code

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@adityastic adityastic Awaiting requested review from adityastic
@jddeep jddeep Awaiting requested review from jddeep

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Orientation change in Memory Graph.

AltStyle によって変換されたページ (->オリジナル) /