HurriyetFragmentController.smali

.class public Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;
.super Ljava/lang/Object;
.source "HurriyetFragmentController.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;
    }
.end annotation


# instance fields
.field public addToBackStack:Z

.field public animationType:Lcom/appcore/utils/helpers/fragment/CoreFragmentAnimation;

.field public containerLayoutResId:I

.field public dataTransferObject:Lcom/appcore/utils/helpers/DataTransferObject;

.field public fragmentEnum:Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentEnum;

.field public fragmentManager:Landroidx/fragment/app/FragmentManager;


# direct methods
.method private constructor <init>(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;)V
    .registers 3

    .line 64
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 65
    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->fragmentEnum:Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentEnum;
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->access$000(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;)Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentEnum;

    move-result-object v0

    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->fragmentEnum:Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentEnum;

    .line 66
    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->fragmentManager:Landroidx/fragment/app/FragmentManager;
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->access$100(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;)Landroidx/fragment/app/FragmentManager;

    move-result-object v0

    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->fragmentManager:Landroidx/fragment/app/FragmentManager;

    .line 67
    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->addToBackStack:Z
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->access$200(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;)Z

    move-result v0

    iput-boolean v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->addToBackStack:Z

    .line 68
    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->dataTransferObject:Lcom/appcore/utils/helpers/DataTransferObject;
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->access$300(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;)Lcom/appcore/utils/helpers/DataTransferObject;

    move-result-object v0

    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->dataTransferObject:Lcom/appcore/utils/helpers/DataTransferObject;

    .line 69
    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->animationType:Lcom/appcore/utils/helpers/fragment/CoreFragmentAnimation;
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->access$400(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;)Lcom/appcore/utils/helpers/fragment/CoreFragmentAnimation;

    move-result-object v0

    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->animationType:Lcom/appcore/utils/helpers/fragment/CoreFragmentAnimation;

    .line 70
    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->containerLayoutResId:I
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->access$500(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;)I

    move-result p1

    iput p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->containerLayoutResId:I

    return-void
.end method

.method synthetic constructor <init>(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$1;)V
    .registers 3

    .line 56
    invoke-direct {p0, p1}, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;-><init>(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;)V

    return-void
.end method

.method private getFragment()Landroidx/fragment/app/Fragment;
    .registers 6

    .line 155
    sget-object v0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$1;->$SwitchMap$hurriyet$mobil$android$hurriyet$fragments$helpers$HurriyetFragmentEnum:[I

    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->fragmentEnum:Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentEnum;

    invoke-virtual {v1}, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentEnum;->ordinal()I

    move-result v1

    aget v0, v0, v1

    const/4 v1, 0x0

    packed-switch v0, :pswitch_data_e2

    move-object v0, v1

    goto/16 :goto_bd

    .line 261
    :pswitch_11
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/SettingFragment;->newInstance()Lcom/appcore/ui/base/CoreFragment;

    move-result-object v0

    goto/16 :goto_bd

    .line 258
    :pswitch_17
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/SearchAllAuthors;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/SearchAllAuthors;

    move-result-object v0

    goto/16 :goto_bd

    .line 255
    :pswitch_1d
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/SearchFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/SearchFragment;

    move-result-object v0

    goto/16 :goto_bd

    .line 252
    :pswitch_23
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/VideosFragment;->newInstance()Lcom/appcore/ui/base/CoreFragment;

    move-result-object v0

    goto/16 :goto_bd

    .line 249
    :pswitch_29
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/DisplayTextFragment;->newInstance()Landroidx/fragment/app/Fragment;

    move-result-object v0

    goto/16 :goto_bd

    .line 245
    :pswitch_2f
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/features/stringselector/HurriyetStringSelectorFragment;->newInstance()Lcom/appcore/ui/base/CoreFragment;

    move-result-object v0

    goto/16 :goto_bd

    .line 242
    :pswitch_35
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/dynamiclist/DynamicListFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/dynamiclist/DynamicListFragment;

    move-result-object v0

    goto/16 :goto_bd

    .line 239
    :pswitch_3b
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/ExternalFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/ExternalFragment;

    move-result-object v0

    goto/16 :goto_bd

    .line 236
    :pswitch_41
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/FullScreenPhotoPagerFragment;->newInstance()Lcom/appcore/ui/base/CoreFragment;

    move-result-object v0

    goto/16 :goto_bd

    .line 233
    :pswitch_47
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->newInstance()Lcom/appcore/ui/base/CoreFragment;

    move-result-object v0

    goto/16 :goto_bd

    .line 230
    :pswitch_4d
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeFirstFragment;->newInstance()Lcom/appcore/ui/base/CoreFragment;

    move-result-object v0

    goto/16 :goto_bd

    .line 227
    :pswitch_53
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/ContractFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/ContractFragment;

    move-result-object v0

    goto/16 :goto_bd

    .line 222
    :pswitch_59
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/AboutFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/AboutFragment;

    move-result-object v0

    goto/16 :goto_bd

    .line 219
    :pswitch_5f
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/ContactUsFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/ContactUsFragment;

    move-result-object v0

    goto :goto_bd

    .line 216
    :pswitch_64
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/ContactUsFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/ContactUsFragment;

    move-result-object v0

    goto :goto_bd

    .line 213
    :pswitch_69
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/VideoAutoPlayFragment;->newInstance()Lcom/appcore/ui/base/CoreFragment;

    move-result-object v0

    goto :goto_bd

    .line 210
    :pswitch_6e
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/ReadingListFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/ReadingListFragment;

    move-result-object v0

    goto :goto_bd

    .line 207
    :pswitch_73
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;

    move-result-object v0

    goto :goto_bd

    .line 204
    :pswitch_78
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->newInstance()Lcom/appcore/ui/base/CoreFragment;

    move-result-object v0

    goto :goto_bd

    .line 201
    :pswitch_7d
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/NotificationsFragment;->newInstance()Lcom/appcore/ui/base/CoreFragment;

    move-result-object v0

    goto :goto_bd

    .line 198
    :pswitch_82
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/ForgotPasswordFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/ForgotPasswordFragment;

    move-result-object v0

    goto :goto_bd

    .line 195
    :pswitch_87
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/RegisterConfirmFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/RegisterConfirmFragment;

    move-result-object v0

    goto :goto_bd

    .line 192
    :pswitch_8c
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/RegisterFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/RegisterFragment;

    move-result-object v0

    goto :goto_bd

    .line 189
    :pswitch_91
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/LoginFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/LoginFragment;

    move-result-object v0

    goto :goto_bd

    .line 184
    :pswitch_96
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/AllAuthorsFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/AllAuthorsFragment;

    move-result-object v0

    goto :goto_bd

    .line 181
    :pswitch_9b
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/AuthorProfileFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/AuthorProfileFragment;

    move-result-object v0

    goto :goto_bd

    .line 178
    :pswitch_a0
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/AuthorsFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/AuthorsFragment;

    move-result-object v0

    goto :goto_bd

    .line 173
    :pswitch_a5
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/WriteCommentFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/WriteCommentFragment;

    move-result-object v0

    goto :goto_bd

    .line 170
    :pswitch_aa
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/CommentsFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/CommentsFragment;

    move-result-object v0

    goto :goto_bd

    .line 166
    :pswitch_af
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/ContentDetailFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/ContentDetailFragment;

    move-result-object v0

    goto :goto_bd

    .line 161
    :pswitch_b4
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/AllCategoriesFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/AllCategoriesFragment;

    move-result-object v0

    goto :goto_bd

    .line 158
    :pswitch_b9
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/fragments/CategoryFragment;->newInstance()Lhurriyet/mobil/android/hurriyet/fragments/CategoryFragment;

    move-result-object v0

    :goto_bd
    if-nez v0, :cond_e1

    const/4 v0, 0x1

    new-array v0, v0, [Ljava/lang/String;

    const/4 v2, 0x0

    .line 265
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "Fragment not found exception. Did you declare your fragmentEnum("

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v4, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->fragmentEnum:Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentEnum;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string v4, ") into the HurriyetFragmentController?"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    aput-object v3, v0, v2

    invoke-static {v0}, Lcom/appcore/utils/L;->e([Ljava/lang/String;)V

    return-object v1

    :cond_e1
    return-object v0

    :pswitch_data_e2
    .packed-switch 0x1
        :pswitch_b9
        :pswitch_b4
        :pswitch_af
        :pswitch_aa
        :pswitch_a5
        :pswitch_a0
        :pswitch_9b
        :pswitch_96
        :pswitch_91
        :pswitch_8c
        :pswitch_87
        :pswitch_82
        :pswitch_7d
        :pswitch_78
        :pswitch_73
        :pswitch_6e
        :pswitch_69
        :pswitch_64
        :pswitch_5f
        :pswitch_59
        :pswitch_53
        :pswitch_4d
        :pswitch_47
        :pswitch_41
        :pswitch_3b
        :pswitch_35
        :pswitch_2f
        :pswitch_29
        :pswitch_23
        :pswitch_1d
        :pswitch_17
        :pswitch_11
    .end packed-switch
.end method

.method public static getFragment(Landroidx/fragment/app/FragmentManager;Ljava/lang/Class;)Landroidx/fragment/app/Fragment;
    .registers 2

    .line 91
    invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentManager;->findFragmentByTag(Ljava/lang/String;)Landroidx/fragment/app/Fragment;

    move-result-object p0

    return-object p0
.end method

.method public static newBuilder(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;)Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;
    .registers 4

    .line 81
    new-instance v0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;

    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->fragmentEnum:Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentEnum;

    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->fragmentManager:Landroidx/fragment/app/FragmentManager;

    invoke-direct {v0, v1, v2}, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;-><init>(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentEnum;Landroidx/fragment/app/FragmentManager;)V

    .line 82
    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->fragmentEnum:Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentEnum;

    # setter for: Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->fragmentEnum:Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentEnum;
    invoke-static {v0, v1}, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->access$002(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentEnum;)Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentEnum;

    .line 83
    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->fragmentManager:Landroidx/fragment/app/FragmentManager;

    # setter for: Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->fragmentManager:Landroidx/fragment/app/FragmentManager;
    invoke-static {v0, v1}, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->access$102(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;Landroidx/fragment/app/FragmentManager;)Landroidx/fragment/app/FragmentManager;

    .line 84
    iget-boolean v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->addToBackStack:Z

    # setter for: Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->addToBackStack:Z
    invoke-static {v0, v1}, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->access$202(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;Z)Z

    .line 85
    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->dataTransferObject:Lcom/appcore/utils/helpers/DataTransferObject;

    # setter for: Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->dataTransferObject:Lcom/appcore/utils/helpers/DataTransferObject;
    invoke-static {v0, v1}, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->access$302(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;Lcom/appcore/utils/helpers/DataTransferObject;)Lcom/appcore/utils/helpers/DataTransferObject;

    .line 86
    iget p0, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->containerLayoutResId:I

    # setter for: Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->containerLayoutResId:I
    invoke-static {v0, p0}, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;->access$502(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;I)I

    return-object v0
.end method

.method public static newBuilder(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentEnum;Landroidx/fragment/app/FragmentManager;)Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;
    .registers 3

    .line 77
    new-instance v0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;

    invoke-direct {v0, p0, p1}, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController$Builder;-><init>(Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentEnum;Landroidx/fragment/app/FragmentManager;)V

    return-object v0
.end method

.method public static replaceOnActivity(Landroid/app/Activity;Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentEnum;Ljava/lang/Class;Lcom/appcore/utils/helpers/DataTransferObject;)V
    .registers 6

    .line 95
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0, p0, p2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "FRAGMENT_ID"

    .line 96
    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    if-eqz p3, :cond_1a

    .line 99
    invoke-virtual {p2}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object p1

    iput-object p1, p3, Lcom/appcore/utils/helpers/DataTransferObject;->key:Ljava/lang/String;

    .line 100
    invoke-virtual {p3}, Lcom/appcore/utils/helpers/DataTransferObject;->onEnterBundle()V

    .line 101
    iget-object p1, p3, Lcom/appcore/utils/helpers/DataTransferObject;->key:Ljava/lang/String;

    invoke-virtual {v0, p1, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 104
    :cond_1a
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/utils/SharedElementTransitionHelper;->getSharedElement()Landroid/view/View;

    move-result-object p1

    if-eqz p1, :cond_36

    .line 106
    sget p2, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 p3, 0x15

    if-lt p2, p3, :cond_36

    .line 107
    invoke-virtual {p1}, Landroid/view/View;->getTransitionName()Ljava/lang/String;

    move-result-object p2

    invoke-static {p0, p1, p2}, Landroidx/core/app/ActivityOptionsCompat;->makeSceneTransitionAnimation(Landroid/app/Activity;Landroid/view/View;Ljava/lang/String;)Landroidx/core/app/ActivityOptionsCompat;

    move-result-object p1

    .line 108
    invoke-virtual {p1}, Landroidx/core/app/ActivityOptionsCompat;->toBundle()Landroid/os/Bundle;

    move-result-object p1

    invoke-virtual {p0, v0, p1}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;Landroid/os/Bundle;)V

    goto :goto_39

    .line 110
    :cond_36
    invoke-virtual {p0, v0}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    .line 112
    :goto_39
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/utils/SharedElementTransitionHelper;->clear()V

    return-void
.end method


# virtual methods
.method public add()Landroidx/fragment/app/Fragment;
    .registers 9

    .line 134
    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->getFragment()Landroidx/fragment/app/Fragment;

    move-result-object v7

    const/4 v0, 0x0

    if-nez v7, :cond_8

    return-object v0

    .line 139
    :cond_8
    invoke-virtual {v7}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v5

    .line 140
    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_20

    const-string v1, "Fragment TAG empty exception. You must set your fragments tag."

    .line 141
    filled-new-array {v1}, [Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/appcore/utils/L;->e([Ljava/lang/String;)V

    return-object v0

    :cond_20
    const/4 v0, 0x1

    new-array v0, v0, [Ljava/lang/String;

    const/4 v1, 0x0

    .line 144
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "tag="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v3, "addtoBackstack="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-boolean v3, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->addToBackStack:Z

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    aput-object v2, v0, v1

    invoke-static {v0}, Lcom/appcore/utils/L;->d([Ljava/lang/String;)V

    .line 145
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->fragmentManager:Landroidx/fragment/app/FragmentManager;

    iget v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->containerLayoutResId:I

    iget-object v3, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->dataTransferObject:Lcom/appcore/utils/helpers/DataTransferObject;

    iget-boolean v4, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->addToBackStack:Z

    iget-object v6, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->animationType:Lcom/appcore/utils/helpers/fragment/CoreFragmentAnimation;

    move-object v2, v7

    invoke-static/range {v0 .. v6}, Lcom/appcore/utils/helpers/fragment/CoreFragmentHelper;->addFragment(Landroidx/fragment/app/FragmentManager;ILandroidx/fragment/app/Fragment;Lcom/appcore/utils/helpers/DataTransferObject;ZLjava/lang/String;Lcom/appcore/utils/helpers/fragment/CoreFragmentAnimation;)V

    return-object v7
.end method

.method public replace()Landroidx/fragment/app/Fragment;
    .registers 9

    .line 117
    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->getFragment()Landroidx/fragment/app/Fragment;

    move-result-object v7

    const/4 v0, 0x0

    if-nez v7, :cond_8

    return-object v0

    .line 121
    :cond_8
    invoke-virtual {v7}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v5

    .line 122
    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_20

    const-string v1, "Fragment TAG empty exception. You must set your fragments tag."

    .line 123
    filled-new-array {v1}, [Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/appcore/utils/L;->e([Ljava/lang/String;)V

    return-object v0

    .line 127
    :cond_20
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->fragmentManager:Landroidx/fragment/app/FragmentManager;

    iget v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->containerLayoutResId:I

    iget-object v3, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->dataTransferObject:Lcom/appcore/utils/helpers/DataTransferObject;

    iget-boolean v4, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->addToBackStack:Z

    iget-object v6, p0, Lhurriyet/mobil/android/hurriyet/fragments/helpers/HurriyetFragmentController;->animationType:Lcom/appcore/utils/helpers/fragment/CoreFragmentAnimation;

    move-object v2, v7

    invoke-static/range {v0 .. v6}, Lcom/appcore/utils/helpers/fragment/CoreFragmentHelper;->replaceFragment(Landroidx/fragment/app/FragmentManager;ILandroidx/fragment/app/Fragment;Lcom/appcore/utils/helpers/DataTransferObject;ZLjava/lang/String;Lcom/appcore/utils/helpers/fragment/CoreFragmentAnimation;)V

    return-object v7
.end method