@@ -46,27 +46,25 @@ public class AdminActivity extends AppCompatActivity {
46
46
47
47
private String title , detail , image , date ;
48
48
private Calendar calendar = Calendar .getInstance ();
49
- private Button sendPushButton ;
50
49
public EditText pushNotificationTitleEditText , pushNotificationDetailEditText , pushNotificationImageEditText ;
51
50
public static EditText pushNotificationDateEditText ;
52
51
public Functions functions = new Functions ();
53
52
private ProgressDialog progressDialog ;
54
- private Toolbar toolbar ;
55
53
public Long timeSinceEpoch ;
56
54
private CoordinatorLayout coordinatorLayout ;
57
55
58
56
@ Override
59
57
protected void onCreate (Bundle savedInstanceState ) {
60
58
super .onCreate (savedInstanceState );
61
59
setContentView (R .layout .activity_admin );
62
- toolbar = (Toolbar ) findViewById (R .id .toolbar_admin );
60
+ Toolbar toolbar = (Toolbar ) findViewById (R .id .toolbar_admin );
63
61
setSupportActionBar (toolbar );
64
62
getSupportActionBar ().setDisplayHomeAsUpEnabled (true );
65
63
coordinatorLayout =(CoordinatorLayout )findViewById (R .id .admin_coordinator_layout );
66
64
progressDialog = new ProgressDialog (AdminActivity .this );
67
65
progressDialog .setMessage ("Please wait" );
68
66
progressDialog .setCancelable (false );
69
- sendPushButton = (Button ) findViewById (R .id .sendPushButton );
67
+ Button sendPushButton = (Button ) findViewById (R .id .sendPushButton );
70
68
pushNotificationTitleEditText = (EditText ) findViewById (R .id .pushNotificationTitleEditText );
71
69
pushNotificationDetailEditText = (EditText ) findViewById (R .id .pushNotificationDetailEditText );
72
70
pushNotificationImageEditText = (EditText ) findViewById (R .id .pushNotificationImageEditText );
0 commit comments