代码
文章平均质量分 70
大哥111111
这个作者很懒,什么都没留下…
展开
-
angularJS增删改查
tr:nth-child(even){ background-color: darkgray; } tr:nth-child(odd){ background-color: bisque; } var app=angular.module("myapp",[]); app.controller("mycon",function($scope){ $scope.isSho原创 2018-01-16 09:10:54 · 133 阅读 · 0 评论 -
频道管理代码
布局代码<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android...原创 2018-06-27 17:12:22 · 221 阅读 · 0 评论 -
Horiz
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout...原创 2018-07-02 07:46:00 · 183 阅读 · 0 评论 -
自定义View画圆跳转
public class CountDownView extends View{ Paint paint; int time; float radius; int textColor; int bgColor; Handler handler; int cx,cy; public CountDownView(Context contex...原创 2018-07-08 21:23:33 · 155 阅读 · 0 评论 -
UserBean
解析类原创 2018-07-01 21:00:11 · 1300 阅读 · 0 评论 -
Mybase
public class MyBase extends BaseAdapter{ private Context context; private List<UsersBean.DataBean.ArticleListBean> list; private String s; private final int ONE_TIME=0; public MyBas...原创 2018-07-01 20:59:31 · 778 阅读 · 0 评论 -
HttpApplications
public class HttpApplications extends Application{ private Context context; @Override public void onCreate() { super.onCreate(); context =this; initImageLouder(); ...原创 2018-07-01 20:58:11 · 94 阅读 · 0 评论 -
Frament11
public class Fragment1 extends Fragment{ private XBanner xBanner; private List<String> images = new ArrayList<>(); private HorizontalScrollView hs; private ViewPager viewPa...原创 2018-07-01 20:56:58 · 98 阅读 · 0 评论 -
HttpUtils
public class HttpUtils { private static HttpUtils httpUtils; private HttpListener httpListener; public static HttpUtils getInstance(){ if (httpUtils == null){ httpUtils...原创 2018-07-01 20:53:57 · 75 阅读 · 0 评论 -
Xbanner
compile 'com.xhb:xbanner:1.2.2' compile 'com.nineoldandroids:library:2.4.0' compile 'com.github.bumptech.glide:glide:3.7.0' compile 'jp.wasabeef:glide-transformations:1.0.6' <uses-permission andro...原创 2018-07-01 20:52:58 · 79 阅读 · 1 评论 -
Frament1
布局<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:lay...原创 2018-07-01 19:50:56 · 80 阅读 · 0 评论 -
Banner
private HorizontalScrollView hs; private LinearLayout linearLayout; private ViewPager viewPager; private String [] titles={"张新","张新","张新","张新","张新","张新","张新","张新"原创 2018-06-25 08:19:42 · 251 阅读 · 0 评论 -
布局
<HorizontalScrollView android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/hs" android:scrollbars="none" > <LinearLayout ...原创 2018-06-25 08:17:08 · 108 阅读 · 0 评论 -
Horizontalscrollview
private HorizontalScrollView hs; private LinearLayout linearLayout; private ViewPager viewPager; private String[] titles = {"头条", "娱乐", "科技", "信息", "八卦", "北京", "上海", "天津&am原创 2018-06-25 08:13:42 · 102 阅读 · 0 评论 -
非空1
var app=angular.module("myapp",[]) app.controller("myctrl",function($scope){ $scope.zhang=[{ id:123, name:"张新" },{原创 2018-01-19 10:09:20 · 127 阅读 · 0 评论 -
非空
var app=angular.module("myapp",[]); app.controller("mycon",function($scope){ $scope.shuzu=[ { name:"张飞", pass:1234567, age:19, sex:"男", state:focus }, { name:"关羽"原创 2018-01-19 08:49:07 · 143 阅读 · 0 评论 -
JSON
var app=angular.module("myapp",[]) app.controller("myctrl",function($scope,$http){ $scope.jia=false; $http.get("http://result.eolinker.com/TucCTQueffdc1d1aaa3be05d8c62e9bb5d3e8b495f97cca?uri=hy原创 2018-01-19 08:43:51 · 161 阅读 · 0 评论 -
TabLayout
public class MainActivity extends AppCompatActivity { TabLayout tabLayout; ViewPager viewPager; private String [] tili={"标题一","标题2","标题3"}; @Override protected void onCreate(Bundle sa...原创 2018-07-10 15:34:16 · 78 阅读 · 0 评论