Skip to content

Commit

Permalink
Fixed Notification Fragment bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Saurabh Joshi committed Jul 30, 2014
1 parent 1fe9c3a commit e347071
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions vitinfo2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
defaultConfig {
minSdkVersion 9
targetSdkVersion 20
versionCode 28
versionName "3.4.4"
versionCode 29
versionName "3.4.5"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public boolean onLongClick(View view) {
public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.notification_list_item, parent, false);
v.setOnLongClickListener(this);
v.setOnLongClickListener(this);
v.setOnClickListener(this);
return new ViewHolder(v);
}

Expand All @@ -63,8 +63,8 @@ public static class ViewHolder extends RecyclerView.ViewHolder {

public ViewHolder(View itemView) {
super(itemView);
message = (TextView) itemView.findViewById(R.id.lbl_title);
title = (TextView) itemView.findViewById(R.id.lbl_message);
message = (TextView) itemView.findViewById(R.id.lbl_message);
title = (TextView) itemView.findViewById(R.id.lbl_title);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ protected Void doInBackground(Void... voids) {

private void showDeleteDialog(final PushMessage m){
final Handler handler = new Handler();

AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
builder.setTitle("Display Name");
builder.setMessage("Delete push message?");
Expand Down

0 comments on commit e347071

Please sign in to comment.