Skip to content

Commit 79ef133

Browse files
chiragw15opticod
authored andcommitted
Adding Author name in Project and APK fragment
Adding Author name in project and apk fragment Adding Author name in project and apk fragment Adding author name in project and apk fragment 2 Adding Author name in Project and APK fragment
1 parent 1faec75 commit 79ef133

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

source-code/app/src/main/java/org/buildmlearn/toolkit/adapter/SavedApiAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public View getView(int position, View convertView, ViewGroup parent) {
115115
}
116116

117117
SavedApi apiData = getItem(position);
118-
holder.details.setText(String.format(Locale.ENGLISH, "Modified: %s, Author: ", apiData.getDate(), apiData.getAuthor()));
118+
holder.details.setText(String.format(Locale.ENGLISH, "%s, %s", apiData.getAuthor(), apiData.getDate()));
119119
holder.apkName.setText(apiData.getName());
120120
holder.projectIcon.setText(apiData.getName().substring(0, 1).toUpperCase(Locale.US));
121121
convertView.setTag(holder);

source-code/app/src/main/java/org/buildmlearn/toolkit/adapter/SavedProjectAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public View getView(int position, View convertView, ViewGroup parent) {
112112
}
113113

114114
SavedProject projectData = getItem(position);
115-
holder.details.setText(String.format(Locale.ENGLISH, "Modified: %s, Author: ", projectData.getDate(), projectData.getAuthor()));
115+
holder.details.setText(String.format(Locale.ENGLISH, "%s, %s", projectData.getAuthor(), projectData.getDate()));
116116
holder.projectName.setText(projectData.getName());
117117
holder.projectIcon.setText(projectData.getName().substring(0, 1).toUpperCase(Locale.US));
118118
convertView.setTag(holder);

0 commit comments

Comments
 (0)