Commit fa9c38e7 authored by M M Arif's avatar M M Arif

Merge branch '9-new-milestone' into 'develop'

Resolve "[New] Create new milestone"

Closes #9

See merge request mmarif4u/gitnex!19
parents 5687f521 babb24e2
......@@ -45,6 +45,7 @@ Option 2 - Open terminal(Linux) and cd to the project dir. Run `./gradlew build`
- Emoji support
- Comment on issues
- Milestones list
- Create new milestone
- Branches list
- Releases with source download
- Collaborators
......
......@@ -26,7 +26,7 @@ dependencies {
def lifecycle_version = "2.0.0"
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.1.0-alpha01'
implementation 'androidx.appcompat:appcompat:1.1.0-alpha02'
implementation 'com.google.android.material:material:1.1.0-alpha03'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
......
......@@ -10,6 +10,7 @@ import android.widget.ImageView;
import com.squareup.picasso.Picasso;
import org.mian.gitnex.R;
import org.mian.gitnex.models.Collaborators;
import org.mian.gitnex.util.RoundedTransformation;
import org.mian.gitnex.util.clickListener;
import java.util.List;
......@@ -75,7 +76,7 @@ public class CollaboratorsAdapter extends BaseAdapter {
private void initData(ViewHolder viewHolder, int position) {
Collaborators currentItem = collaboratorsList.get(position);
Picasso.get().load(currentItem.getAvatar_url()).into(viewHolder.collaboratorAvatar);
Picasso.get().load(currentItem.getAvatar_url()).transform(new RoundedTransformation(10, 0)).into(viewHolder.collaboratorAvatar);
if (!currentItem.getFull_name().equals("")) {
viewHolder.collaboratorAvatar.setOnClickListener(new clickListener(mCtx.getResources().getString(R.string.collaboratorsNameToast, currentItem.getFull_name()), mCtx));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment