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

Clean up TaskGroupPagerAdapter instantiation exception handling in TaskListActivity #621

Open
lemonboston opened this issue Jan 8, 2018 · 0 comments
Assignees

Comments

@lemonboston
Copy link
Contributor

There is this not too nice piece of code (below) in TaskListActivity, make it cleaner.

try
{
    mPagerAdapter = new TaskGroupPagerAdapter(getSupportFragmentManager(), mGroupingFactories, this, R.xml.listview_tabs);
}
catch (XmlPullParserException e)
{
    // TODO Automatisch generierter Erfassungsblock
    e.printStackTrace();
}
catch (IOException e)
{
    // TODO Automatisch generierter Erfassungsblock
    e.printStackTrace();
}
catch (XmlObjectPullParserException e)
{
    // TODO Automatisch generierter Erfassungsblock
    e.printStackTrace();
}

(This is taken out of #613 as an independent change.)

@lemonboston lemonboston self-assigned this Jan 8, 2018
lemonboston pushed a commit that referenced this issue Jan 8, 2018
dmfs pushed a commit that referenced this issue Jan 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant