AvatarUpgradeFragment.java
3.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
package com.bitstrips.imoji.abv3.upgrade;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.view.animation.AnimationUtils;
import android.widget.ImageView;
import com.bitstrips.imoji.abv3.AvatarBuilderGender;
public class AvatarUpgradeFragment
extends Fragment
{
private View a;
private View b;
private ImageView c;
private View d;
private View e;
private AvatarBuilderGender f;
public static AvatarUpgradeFragment createFragment(AvatarBuilderGender paramAvatarBuilderGender)
{
AvatarUpgradeFragment localAvatarUpgradeFragment = new AvatarUpgradeFragment();
Bundle localBundle = new Bundle();
localBundle.putSerializable("EXTRA_GENDER", paramAvatarBuilderGender);
localAvatarUpgradeFragment.setArguments(localBundle);
return localAvatarUpgradeFragment;
}
public AvatarUpgradeFragmentListener getListener()
{
return (AvatarUpgradeFragmentListener)getActivity();
}
public void onActivityCreated(@Nullable Bundle paramBundle)
{
super.onActivityCreated(paramBundle);
this.a.startAnimation(AnimationUtils.loadAnimation(getActivity(), 2130968596));
this.b.startAnimation(AnimationUtils.loadAnimation(getActivity(), 2130968595));
}
@Nullable
public View onCreateView(LayoutInflater paramLayoutInflater, @Nullable ViewGroup paramViewGroup, @Nullable Bundle paramBundle)
{
paramLayoutInflater = paramLayoutInflater.inflate(2130903108, paramViewGroup, false);
this.f = ((AvatarBuilderGender)getArguments().getSerializable("EXTRA_GENDER"));
this.a = paramLayoutInflater.findViewById(2131689715);
this.b = paramLayoutInflater.findViewById(2131689716);
this.c = ((ImageView)paramLayoutInflater.findViewById(2131689706));
this.d = paramLayoutInflater.findViewById(2131689707);
this.e = paramLayoutInflater.findViewById(2131689717);
if (this.f == AvatarBuilderGender.GENDER_MALE) {
this.c.setImageResource(2130837718);
}
for (;;)
{
this.a.setOnClickListener(new View.OnClickListener()
{
public final void onClick(View paramAnonymousView)
{
AvatarUpgradeFragment.this.getListener().onUpgradeDismiss();
}
});
this.e.setOnClickListener(new View.OnClickListener()
{
public final void onClick(View paramAnonymousView)
{
AvatarUpgradeFragment.this.getListener().onUpgradeDismiss();
}
});
this.d.setOnClickListener(new View.OnClickListener()
{
public final void onClick(View paramAnonymousView)
{
AvatarUpgradeFragment.this.getListener().onUpgradeAvatarSelected();
}
});
return paramLayoutInflater;
this.c.setImageResource(2130837717);
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/abv3/upgrade/AvatarUpgradeFragment.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/