#439
- AccountActivity: removed googleLoginFragment field and its
initialization in the getGoogleLoginFragment method. Now the fragment
will be searched in the fragment manager by tag
- AccountLogin: added login and recover password fragments
initialization to the init method.
- AccountLogin: added new methods getLoginFragment and
getRecoverPasswordFragment
- AccountLogin: replaced tasks creation with the appropriate fragment
actions in the loginButtonAction and forgotPasswordButtonAction methods
- AccountLogin.RecoverPasswordTask: removed
- AccountLogin.LogInUserTask: removed
- AccountLogin.LogInFragment: added
- AccountLogin.RecoverPasswordFragment: added
- AccountSignup: added NewUserFragment initialization to the onCreate
method
- AccountSignup: replaced task creation with the appropriate fragment
action in the createAccountButtonAction method
- AccountSignup.NewUserTask: removed
- AccountSignup.NewUserFragment: added
- GoogleLoginFragment: extracted some common functionality to the new
parent CommonRetainedFragmentWithTaskAndProgress and
CommonFragmentUtils: removed findOrCreateFeatherFragment, onDestroyView,
onCreateView methods; removed logInTask field; removed
setRetainInstance(true); call from the onCreate (such as now it is in
parent)
- GoogleLoginFragment: replaced async task execute call with the
startRetainedTask call in the performLoginAction method
- GoogleLoginFragment.LogInUserTask: extracted some common functionality
to the new parent RetainedTask: removed fields progress and finished;
removed startLoading, stopLoading, onSuccessPostExecute,
onFailedPostExecute methods
- GoogleLoginFragment.LogInUserTask: added
onSuccessPostExecuteAdditional method implementation
- SettingsCommon: added logout and clear disk caches fragment
initialization to the constructor
- SettingsCommon: replaced tasks creation with the appropriate fragment
actions in the onPreferenceClick and setDiskCachClearPreference methods
- SettingsCommon: added new methods getLogoutFragment and
getClearDiskCachesFragment
- SettingsCommon.LogoutTask: removed
- SettingsCommon.LogoutFragment: added
- SettingsCommon.ClearDiskCachesFragment: added
- CommonFragmentUtils: added
- CommonRetainedFragmentWithTaskAndProgress: added
- FacebookUtils: replaced parameter type from Activity to Context in the
logoutRequest method