原创 簡單流式佈局

加粗樣式 <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://sche

原创 跳轉詳情

展示 package com.example.mymoni.fragment; import android.content.Intent; import android.os.Bundle; import android.sup

原创 Recycle嵌套

佈局 <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.

原创 嵌套A

佈局 <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"

原创 xBanner輪播

依賴 allprojects { repositories { google() jcenter() maven { url 'https://jitpack.io' }

原创 購物提交

public static final String BASE_URL="http://mobile.bwstudent.com/"; 主佈局 <?xml version="1.0" encoding="utf-8"?> <Rela

原创 購物車

主佈局 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"

原创 eventBus

EventBus package soexample.umeng.com.eventbusandbutterknife; import android.content.Intent; import android.os.Bundle

原创 多網絡接口解析

佈局 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

原创 登錄註冊

登錄佈局 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

原创 自定義佈局引入

佈局xml文件 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/androi

原创 Retrofit

RetrofitUtils package com.example.activity.myapplication.utils; import java.io.IOException; import java.util.HashM

原创 高德地圖

導入依賴 sourceSets { main { jniLibs.srcDirs = ['libs'] } } 一定要複製libs 佈局文件 <com.a

原创 購物車

佈局文件 Main 佈局 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res

原创 輪播

輪播和XrecyclerView <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk