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

Authored by eduisters on Thu, Dec 6, 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.Thu, Dec 6, 6:28 PM
Restricted Application added a project: KDE Connect. · View Herald TranscriptThu, Dec 6, 6:28 PM
Restricted Application added a subscriber: kdeconnect. · View Herald Transcript
eduisters requested review of this revision.Thu, Dec 6, 6:28 PM
nicolasfella accepted this revision.Thu, Dec 6, 6:43 PM
This revision is now accepted and ready to land.Thu, Dec 6, 6:43 PM
eduisters updated this revision to Diff 46996.Thu, Dec 6, 7:28 PM

Rebased onto master

This revision was automatically updated to reflect the committed changes.