Fix lint warning: Avoid non-default constructors in fragments
ClosedPublic

Authored by eduisters on Dec 6 2018, 6:28 PM.

Details

Summary

It is common practice to use a static newInstance to create new fragment instances instead of using non-default constructors

Diff Detail

Repository
R225 KDE Connect - Android application
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
eduisters created this revision.Dec 6 2018, 6:28 PM
Restricted Application added a project: KDE Connect. · View Herald TranscriptDec 6 2018, 6:28 PM
Restricted Application added a subscriber: kdeconnect. · View Herald Transcript
eduisters requested review of this revision.Dec 6 2018, 6:28 PM
nicolasfella accepted this revision.Dec 6 2018, 6:43 PM
This revision is now accepted and ready to land.Dec 6 2018, 6:43 PM
eduisters updated this revision to Diff 46996.Dec 6 2018, 7:28 PM

Rebased onto master

This revision was automatically updated to reflect the committed changes.