Skip to content

Pinch zoom - #1466

Closed
tobiasKaminsky wants to merge 9 commits into
masterfrom
pinchZoom
Closed

tobiasKaminsky wants to merge 9 commits into
masterfrom
pinchZoom

Conversation

@tobiasKaminsky

Copy link
Copy Markdown
Contributor

private static final String KEY_HEIGHT_CELL = "HEIGHT_CELL";
private static final String KEY_EMPTY_LIST_MESSAGE = "EMPTY_LIST_MESSAGE";
private static final String GRID_COLUMNS = "gridColumns";
private ScaleGestureDetector SGD = null;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

since its is not a static it should be mSGD or even better mScaleGestureDetector, SGD is too enigmatic

@przybylski

Copy link
Copy Markdown
Contributor

mkay, review done

@ghost ghost mentioned this pull request Mar 18, 2016
}

SharedPreferences appPreferences = PreferenceManager
.getDefaultSharedPreferences(MainApp.getAppContext());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

To minimize dependencies you could use getActivity() as a context. Or is there any specific reason to use application context here ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No, I do not think so -> changed.

@przybylski

Copy link
Copy Markdown
Contributor

Bump, one more issue in the code.

savedInstanceState.putString(KEY_EMPTY_LIST_MESSAGE, getEmptyViewText());

SharedPreferences.Editor editor = PreferenceManager
.getDefaultSharedPreferences(MainApp.getAppContext()).edit();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Well, here as well :P

@tobiasKaminsky

Copy link
Copy Markdown
Contributor Author

@przybylski finally done ;)

@danimo

danimo commented Jul 18, 2016

Copy link
Copy Markdown
Contributor

@tobiasKaminsky Can you rebase?

@jesmrec

jesmrec commented Jun 26, 2019

Copy link
Copy Markdown
Member

needs to be done in a modern way

@jesmrec jesmrec closed this Jun 26, 2019
@hannesa2
hannesa2 deleted the pinchZoom branch July 12, 2021 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants