diff --git a/alfresco-mobile-android/src/main/java/org/alfresco/mobile/android/application/fragments/workflow/process/ProcessTasksAdapter.java b/alfresco-mobile-android/src/main/java/org/alfresco/mobile/android/application/fragments/workflow/process/ProcessTasksAdapter.java index f868a6fc..7791efb5 100644 --- a/alfresco-mobile-android/src/main/java/org/alfresco/mobile/android/application/fragments/workflow/process/ProcessTasksAdapter.java +++ b/alfresco-mobile-android/src/main/java/org/alfresco/mobile/android/application/fragments/workflow/process/ProcessTasksAdapter.java @@ -26,7 +26,6 @@ import org.alfresco.mobile.android.application.fragments.DisplayUtils; import org.alfresco.mobile.android.application.fragments.user.UserProfileFragment; import org.alfresco.mobile.android.ui.fragments.BaseListAdapter; -import org.alfresco.mobile.android.ui.holder.ViewHolder; import org.alfresco.mobile.android.ui.rendition.RenditionManager; import android.support.v4.app.FragmentActivity; @@ -159,26 +158,3 @@ public void onClick(View v) .placeHolder(R.drawable.ic_person_light).into(vh.icon); } } - -final class ProcessViewHolder extends ViewHolder -{ - public TextView topText; - - public TextView bottomText; - - public ImageView icon; - - public ImageView icon_statut; - - public TextView content; - - public ProcessViewHolder(View v) - { - super(v); - icon = (ImageView) v.findViewById(R.id.icon); - icon_statut = (ImageView) v.findViewById(R.id.icon_status); - topText = (TextView) v.findViewById(R.id.toptext); - bottomText = (TextView) v.findViewById(R.id.bottomtext); - content = (TextView) v.findViewById(R.id.contentweb); - } -} diff --git a/alfresco-mobile-android/src/main/java/org/alfresco/mobile/android/application/fragments/workflow/process/ProcessViewHolder.java b/alfresco-mobile-android/src/main/java/org/alfresco/mobile/android/application/fragments/workflow/process/ProcessViewHolder.java new file mode 100644 index 00000000..51e13b66 --- /dev/null +++ b/alfresco-mobile-android/src/main/java/org/alfresco/mobile/android/application/fragments/workflow/process/ProcessViewHolder.java @@ -0,0 +1,34 @@ +package org.alfresco.mobile.android.application.fragments.workflow.process; + +import android.view.View; +import android.widget.ImageView; +import android.widget.TextView; + +import org.alfresco.mobile.android.application.R; +import org.alfresco.mobile.android.ui.holder.ViewHolder; + +/** + * Created by Bogdan Roatis on 10/11/2018. + */ +public class ProcessViewHolder extends ViewHolder +{ + public TextView topText; + + public TextView bottomText; + + public ImageView icon; + + public ImageView icon_statut; + + public TextView content; + + public ProcessViewHolder(View v) + { + super(v); + icon = v.findViewById(R.id.icon); + icon_statut = v.findViewById(R.id.icon_status); + topText = v.findViewById(R.id.toptext); + bottomText = v.findViewById(R.id.bottomtext); + content = v.findViewById(R.id.contentweb); + } +}