Skip to content

Commit

Permalink
Merge pull request #504 from shikoko/ANDROID-386
Browse files Browse the repository at this point in the history
ANDROID-386 Cannot cancel request to join sites
  • Loading branch information
shikoko authored Oct 11, 2018
2 parents 56adb2e + b7e780d commit de5670c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import org.alfresco.mobile.android.async.site.member.CancelPendingMembershipRequest;
import org.alfresco.mobile.android.platform.utils.AccessibilityUtils;
import org.alfresco.mobile.android.ui.fragments.BaseListAdapter;
import org.alfresco.mobile.android.ui.holder.ViewHolder;

import android.support.v4.app.Fragment;
import android.view.View;
Expand Down Expand Up @@ -83,23 +82,3 @@ protected void updateBottomText(JoinSiteViewHolder vh, Site item)
vh.bottomText.setVisibility(View.GONE);
}
}

final class JoinSiteViewHolder extends ViewHolder
{
public TextView topText;

public TextView bottomText;

public ImageView icon;

public Button cancel_request;

public JoinSiteViewHolder(View v)
{
super(v);
icon = (ImageView) v.findViewById(R.id.icon);
topText = (TextView) v.findViewById(R.id.toptext);
bottomText = (TextView) v.findViewById(R.id.bottomtext);
cancel_request = (Button) v.findViewById(R.id.cancel_request);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
package org.alfresco.mobile.android.application.fragments.site.request;

import android.view.View;
import android.widget.Button;
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 JoinSiteViewHolder extends ViewHolder
{
public TextView topText;

public TextView bottomText;

public ImageView icon;

public Button cancel_request;

public JoinSiteViewHolder(View v)
{
super(v);
icon = v.findViewById(R.id.icon);
topText = v.findViewById(R.id.toptext);
bottomText = v.findViewById(R.id.bottomtext);
cancel_request = v.findViewById(R.id.cancel_request);
}
}

0 comments on commit de5670c

Please sign in to comment.