ü\Óü¿Æ¼¼Íø

 ÕÒ»ØÃÜÂë
 Á¢¼´×¢²á
mito
²é¿´: 1509|»Ø¸´: 4

Ë«Æ½Ì¨ÕæÊµ¿ª·¢GitHub App React Native¼¼ÊõÈ«ÃæÕÆÎÕÊÓÆµ½Ì³Ì

[¸´ÖÆÁ´½Ó]

8Íò

Ö÷Ìâ

608

»ØÌû

27Íò

»ý·Ö

¹ÜÀíÔ±

Rank: 9Rank: 9Rank: 9

»ý·Ö
275170
QQ
·¢±íÓÚ 2018-4-4 08:54:28 | ÏÔʾȫ²¿Â¥²ã |ÔĶÁģʽ
¿Î³ÌÃû³Æ:  Ë«Æ½Ì¨ÕæÊµ¿ª·¢GitHub App React Native¼¼ÊõÈ«ÃæÕÆÎÕÊÓÆµ½Ì³Ì


¿Î³Ì¼ò½é:    

React NativeµÄºÃ´¦¾ÍÔÚÓÚËü¶Ô´¦ÀíһЩҵÎñÂß¼­½ÏΪ¸´ÔÓµ«½çÃæÏà¶Ô¼òµ¥µÄÄ£¿éʱ£¬ÒòΪ²»Í¬Æ½Ì¨µÄÒµÎñÂß¼­Æäʵ´óÖ¶¼ÊDz¶àµÄ£¬ËùÒÔ¿ÉÒÔÂß¼­¿çƽ̨¸´Óõõ½Á˼«´óµÄÌáÉý£¬ÐÔÄÜÔò½èÖúÓÚNativeµÄUI²ã´ó´óµÃµ½Âú×ã¡£React Native¿ª·¢°²×¿ÓëIOSƽ̨µÄGitHub AppÊÓÆµ½Ì³Ìͨ¹ýReact Native ¿ª·¢Ë«Æ½Ì¨ GitHub App£¬ 24¸öСʱÊÖ°ÑÊÖ´øÄúÓÃRN¿ª·¢²¢ÉÏÏßÒ»¿îAndroid,IOS˫ƽ̨APP,²¢È«ÃæÕÆÎÕRN¿ª·¢³£Óü¼Êõ¡£²»´íµÄÒ»Ì׽̳̣¬ÖµµÃÒ»¿´¡£¾ø¶ÔÕæÊµµÄʵսÌåÑ飡ͨ¹ý±¾Ì׽̵̳Äѧϰ£¬Ò»¶¨»áÈÃÄúÓÐÒ»ÖÖ¼¤ÇéÅìÅÈ£¬ÏëÒª¹¥³ÇÂԵأ¬¿ª½®ÍØÍÁ£¬³É¾ÍÒ»·¬ÊÂÒµµÄ³å¶¯£¡

----------------------¿Î³ÌĿ¼------------------------------

µÚ1Õ ¿ª·¢×¼±¸£¨¼Æ»®¸üУ¬¶ÔÀÏÓû§Ãâ·Ñ£©
±¾ÕÂÊ×ÏÈ»á¶ÔÏîÄ¿ÐèÇó½øÐзÖÎö£¬È»ºó¶ÔÏîĿЧ¹û½øÐÐÑÝʾ£¬Èôó¼ÒÖªµÀÎÒÃǽ«Òª¿ª·¢Ò»¿îÔõÑùµÄAPP£¬½Ó×Å£¬»áÖÆ¶¨Ò»¸öÏîÄ¿¿ª·¢¼Æ»®£¬Èôó¼ÒÃ÷°×ÎÒÃǽ«ÒÔÔõÑùµÄ·½Ê½¿ª·¢Õâ¿îAPP£¬È»ºó£¬»á¶ÔÕâ¿îAPP×öÒ»¸ö¼¼ÊõÉϵķֽ⣬Èôó¼ÒÖªµÀ¿ª·¢Õâ¿îAPPÐèÒªÓõ½ÄÄЩ¼¼Êõ£»È»ºó£¬»á½ÌÄãÈçºÎ×Ô¶¨Òå×é¼þ£¬ÈçºÎ½øÐÐÒ³ÃæÖ®¼äµÄµ¼º½Êý¾Ý´«µÝµÈ£»...

µÚ2Õ ÏîÄ¿»ù´¡¹¦ÄÜ¿ª·¢£¨ListView¡¢ÏÂÀ­Ë¢Ð¡¢ÉÏÀ­¼ÓÔØ¸ü¶à¡¢APPÆô¶¯Òýµ¼Á÷³Ì£©
±¾ÕÂÊ×ÏÈ»á¶Ô¿ª·¢Ò»¿îApp×î³£ÓõÄ×é¼þListView¼°RefreshControl½øÐн²½â£»½Óׯὲ½âReact Native µÄ Fecth APIµÄʹÓÃÓëÇáÁ¿¼¶·â×°,ÈÃÄãÄܹ»Ñ§Ï°²¢ÕÆÎÕReact NativeµÄÍøÂç±à³Ì¼¼Êõ£»×îºó»á½éÉÜAppµÄÆô¶¯Òýµ¼Á÷³Ì£¬ÈÃÄãÕÆÎÕÒ»¿îApp´ÓÆô¶¯µ½½øÈëÊ×Ò³µÄÀ´ÁúÈ¥Âö¡£...

µÚ3Õ Popular(×îÈÈ£©Ä£¿é¿ª·¢£¨AsyncStorageÊý¾Ý¿â¼¼Êõ¡¢ÀëÏß»º´æ£©
±¾ÕÂÖ÷Òª½²½âÈçºÎÉè¼ÆÓëʵÏÖPopular(×îÈÈ)Ä£¿é£»Ê×ÏȶÔPopularµÄÊý¾ÝÄ£¿é½øÐзâ×°£¬È»ºó½²½âAsyncStorage¼¼Êõ£¬ÈÃÄãѧ»áÔÚReact NativeÖÐÈçºÎ½øÐÐÊý¾Ý´æ´¢£»½Ó׎²½âÈçºÎ¼ÓÔØjsonÊý¾Ý£¬ÈçºÎʵÏÖ×Ô¶¨Òå¶©ÔıêÇ©£¬±êÇ©ÅÅÐò£¬±êǩɾ³ýµÈ¹¦ÄÜ£¬ÈçºÎʵÏÖPopularÄ£¿éÀëÏß»º´æ¹¦ÄÜ,ÈÃÄãÕÆÎÕÀëÏß»º´æÔ­ÀíÒÔ¼°ÊµÏÖ·½°¸£»×îºó½²½âWeb...

µÚ4Õ Trending(Ç÷ÊÆ)Ä£¿é¿ª·¢£¨´úÂëÓÅ»¯¼¼ÇÉ¡¢¸ß¸´ÓôúÂëÉè¼Æ£©
±¾ÕÂÖ÷Òª½²½âÈçºÎÉè¼ÆÓëʵÏÖTrending(Ç÷ÊÆ)Ä£¿é£»Ê×ÏȻὲ½âÈçºÎ´Óhttps://github.com/trendingÉÏ»ñÈ¡Êý¾Ý£¬²¢°ÑÊý¾Ý½âÎö²¢·â×°³É¶ÔÏ󣬲¢ÓÅ»¯´úÂ룬½«ÉÏÊö¹ý³Ì·â×°³ÉÒ»¸ö¿É¸´ÓõÄTrendingÊý¾ÝÄ£¿é£»½Óׯὲ½âÔÚReact NativeÖÐÈçºÎʵÏÖÒ»¸öPopµ¯³ö²Ëµ¥£»×îºó£¬ÎÒ»á½Ì´ó¼ÒÈçºÎ¸´ÓÃPopular(×îÈÈ)Ä£¿éµÄ´úÂëÀ´ÊµÏÖÒ»¸ö×Ô¶¨Òå...

µÚ5Õ Favorite(ÊÕ²Ø)Ä£¿é¿ª·¢£¨Êý¾ÝDAO²ãÉè¼Æ¼¼ÇÉ£¬Êý¾Ý״̬ʵʱ¸üУ©
±¾ÕÂÖ÷Òª½²½âÈçºÎÉè¼ÆÓëʵÏÖFavorite(ÊÕ²Ø)Ä£¿é£»Ê×ÏȻὲ½âÈçºÎΪPopularÓëTrendingÄ£¿éÌí¼ÓÊղع¦ÄÜ£¨°üÀ¨ÊÕ²ØÓëÈ¡ÏûÊղأ©£¬½Ó׎«ÕâÒ»¹ý³Ì·â×°³ÉÒ»¸ö¿É¸´ÓõÄFavoriteDaoÄ£¿é£¬ÒÔ·½±ãÆäËüÄ£¿éµ÷Óã»È»ºó»á½²½âÈçºÎ½«ÊղصÄÏîÄ¿¼ÓÔØ²¢ÏÔʾ³öÀ´£¬ÈçºÎʵʱ¸üÐÂÊÕ²Ø×´Ì¬£»×îºó»áΪÊÕ²ØÁбíʵÏÖÏêÇéÒ³¡£...

µÚ6Õ My(ÎÒµÄ)Ä£¿é¿ª·¢£¨´úÂëÌáÈ¡¼¼ÇÉ£¬×éºÏģʽӦÓü¼ÇÉ£¬Êý¾ÝÒ첽ˢÐÂÓ붯̬Ìí¼Ó£©
±¾ÕÂÖ÷Òª½²½âÈçºÎÉè¼ÆÓëʵÏÖMy(ÎÒµÄ)Ä£¿é£»Ê×ÏȻὲ½âÈçºÎ¹¹½¨ÎÒµÄÒ³Ãæ£»È»ºó½²½âÈçºÎ¹¹½¨¹ØÓÚÒ³ÃæÓë¹ØÓÚ×÷ÕßÒ³Ãæ£¬ÔÚÕâÀï»á¶Ô¹ØÓÚÒ³ÃæÓë¹ØÓÚ×÷ÕßÒ³ÃæµÄ¹«¹²´úÂë½øÐÐÌáÈ¡£¬Í¨¹ýÕâÒ»½ÚÄã»áѧµ½ÈçºÎÓÃ×éºÏµÄ·½Ê½À´¸´ÓôúÂëµÄ¼¼ÇÉ£¬ÒÔ¼°ËüÓëͨ¹ý¼Ì³Ð·½Ê½¸´ÓôúÂëµÄÓÅȱµã£»ÁíÍ⣬ͨ¹ýÕâÒ»ÕÂÄãÒ²ÄÜѧϰµ½ÈçºÎ×Ô¶¨ÒåÀ©Õ¹ÁÐ±í£¬Èç...

µÚ7Õ Search(ËÑË÷)Ä£¿é¿ª·¢£¨¶¯Ì¬¹Ø¼ü×Ö£¬¿ÉÈ¡ÏûÒì²½ÈÎÎñÉè¼Æ£©
±¾ÕÂÖ÷Òª½²½âÈçºÎÉè¼ÆÓëʵÏÖËÑË÷Ä£¿é£»Ê×ÏȻὲ½âÈçºÎʵÏÖÒ»¸ö´øËÑË÷µÄNavBar£¬ÒÔ¼°ÊäÈë¿òTextInputµÄʹÓÃÓëÀ©Õ¹£»È»ºó»á½²½âÈçºÎÏÔʾËÑË÷½ø¶ÈÌõ£¬ÒÔ¼°ÈçºÎÏÔʾËÑË÷µÄÊý¾Ý£¬ÈçºÎ¶¯Ì¬ÏÔʾºÍÒþ²Øµ×²¿°´Å¥£»È»ºó£¬»á½²½âÊ×Ò³ÈçºÎ¶¯Ì¬ÏÔʾËÑË÷Ä£¿éÌí¼ÓµÄ¹Ø¼ü×Ö£¬ÒÔ¼°¶Ô¡°¹ã²¥Ê¼þ¡±µÄ¸ü½øÒ»²½Ó¦Óã» ×îºó£¬ÎªÁËʵÏÖÈ¡ÏûËÑË÷µÄ...

µÚ8Õ MoreMenu(¸ü¶à²Ëµ¥)Ä£¿é¿ª·¢£¨·â×°¿ÉÅäÖò˵¥×é¼þ£¬RN°æ±¾Éý¼¶²È¿Ó£©
±¾ÕÂÖ÷Òª½²½âÈçºÎÉè¼ÆÓëʵÏÖ¸ü¶à²Ëµ¥£»Ê×ÏȻὲ½âÈçºÎ·â×°Ò»¸ö¿ÉÅäÖõĸü¶à²Ëµ¥×é¼þ£¬ÒÔ¼°¿ÉÅäÖò˵¥µÄÓ¦Óã»È»ºó£¬ÄãÒ²»áѧµ½´«µÝ×é¼þµÄÁíÍâÒ»ÖÖ·½Ê½£¬¼´Í¨¹ý´«µÝº¯ÊýµÄ·½Ê½À´´úÌæÖ±½Ó´«µÝ×é¼þ¡£×îºóÕâÒ»Õ´ó¼ÒÒ²¿ÉÒÔѧµ½ÈçºÎ¶ÔReact NativeµÄ°æ±¾½øÐÐÉý¼¶¡£...

µÚ9Õ ¸ß¼¶¹¦ÄÜ¿ª·¢£¨¶à²ÊÖ÷Ìâ¡¢Êý¾Ýͳ¼Æ¡¢Éç»á»¯·ÖÏí¡¢µÚÈý·½µÇ¼£¬Èȸüеȣ©
±¾Õ»á½Ì´ó¼ÒһЩReact Native¿ª·¢µÄ¸ß¼¶¼¼ÄÜ£»Ê×ÏÈÊÇÈçºÎΪAPP×Ô¶¨ÒåʵÏÖÒ»¸ö¶à²ÊÖ÷Ì⣻ȻºóÊÇÈçºÎͨ¹ý¹¹½¨ React NativeÔ­ÉúÄ£¿é£¬À´ÊµÏÖһЩ¸ü¸ß¼¶µÄ¹¦ÄÜ£¬±ÈÈç¶àỊ̈߳¬Í¼Æ¬´¦ÀíµÈ£»½ÓÏÂÀ´»á½Ì´ó¼ÒÈçºÎÔÚReact NativeÓ¦ÓÃÖм¯³Éͳ¼Æ¹¦ÄÜ£¬·ÖÏí¹¦ÄÜÒÔ¼°µÚÈý·½µÇ¼¹¦Äܵȣ»È»ºó£¬»á½²½âAPPÆô¶¯°×ÆÁÎÊÌâ²úÉúµÄÔ­ÒòÒÔ¼°...

µÚ10Õ ÏîÄ¿·¢²¼Ç°µÄÓÅ»¯¡¢´ò°üÓëÉÏÏßAndroidºÍIOS APP¡¢Ñ§Ï°×ÊÁÏ
±¾Õ»á½Ì´ó¼Ò¶ÔÏîÄ¿½øÐз¢²¼Ç°µÄÓÅ»¯£»È»ºó½Ì´ó¼ÒѧϰÈçºÎ´ò°ü·¢²¼Ò»¿îReact Native AndroidÓ¦ÓÃÓëReact Native iOSÓ¦Óᣴø´ó¼Ò×ßÍêÏîÄ¿¿ª·¢µÄ×îºóÁ÷³Ì£¬×îºó¶Ô¿Î³Ì½øÐÐÕûÌåµÄ×ܽáÓë»Ø¹Ë¡£

µÚ11Õ ×îаæReact Native µÄÉý¼¶ÓëÊÊÅ䣨¼Æ»®¸üУ©
React NativeµÄÉý¼¶ÓëÊÊÅäÒ»Ö±ÊÇÀ§ÈÅ¿ª·¢ÕßµÄÒ»¸öÍ´µã£¬±¾Õ½ڽ«½²½â×îаæReact NativeµÄÉý¼¶ÓëÊÊÅäµÄ¾­ÑéÓë¼¼ÇÉ£¬Í¬Ê±»á¶Ô±È²»Í¬Éý¼¶·½Ê½µÄÓÅȱµã£¬²¢»á¶ÔReact Native¹ýÈ¥Ò»ÄêÖеÄÖØÒª¸üÐÂ×ö¸ö×ܽᣬ²¢ÇÒ¸ø³öÊÊÅ佨Òé¡£

µÚ12Õ APIÉý¼¶¡¢ÒÀÀµ×é¼þ¸üм°ÊÊÅä(¼Æ»®¸üÐÂ)
±¾Õ½ڻá¶Ô×îаæReact NativeµÄAPI×ö¸ö½²½â£¬Í¬Ê±»á´ø×Å´ó¼Òͨ¹ý½«¿Î³ÌÕæÊµ°¸ÀýÀ´×öAPI¡¢ÒÀÀµ×é¼þµÄÉý¼¶ÓëÊÊÅ䣬ÁíÍâÄØ£¬ÎÒ»á´ø×Å´ó¼Ò·â×°Ò»¸öÓиü¸ßÀ©Õ¹ÐԺͶ¨ÖÆÐ͵ÄÈ«ÆÁµ¯¿ò¡£

µÚ13Õ ´Ónavigatorµ½react-navigationʵս½Ì³Ì&¼¼ÇÉ£¨¼Æ»®¸üУ©
±¾Õ½ڻá¶Ôreact-navigation¡¢StackNavigator¡¢TabNavigator¡¢DrawerNavigator×ö¸öÈ«ÃæµÄÆÊÎöºÍ½²½â£¬²¢½áºÏÕæÊµ°¸Àý½²½âreact-navigationµÄʹÓã¬ÈÃÄãѧϰµ½´Óreact-navigation docÖлñÈ¡²»µ½µÄʵÓþ­ÑéÓë¼¼ÇÉ¡£

µÚ14Õ ÐÂÌØÐÔ£º´ÓListViewµ½FlatList£¬×ß½ø¸ßÐÔÄܵÄÁÐ±í£¨¼Æ»®¸üУ©
±¾Õ½ÚÖ÷Òª³ýÁ˽²½â`FlatList`,`SectionList`,`VirtualizedList`Óë`SwipeableFlatList`µÄʹÓü¼ÇÉÖ®Í⣬ͬʱ»á½áºÏ`ListView`¶Ô`FlatList`µÄÌØÐÔÓëÔ­Àí×ö³ö·ÖÎö½²½â£¬²¢½áºÏ¿Î³Ì°¸Àý´ø×Å´ó¼Ò´ÓListViewµ½FlatListÒ»²½²½×ß½ø¸ßÐÔÄܵÄÁÐ±í¡£

µÚ15Õ React NativeÈ«ÃæÆÁÊÊÅäÖ¸ÄÏ£¨¼Æ»®¸üУ©
±¾Õ½ÚÖ÷Òª½²½âÈ«ÆÁÄ»µÄÊÊÅäÓëÓÅ»¯£¬²¢¶ÔÈ«ÃæÆÁµÄÌØµã¼°´æÔÚµÄÎÊÌâ×ö³ö·ÖÎö£¬Í¬Ê±½Ì´ó¼ÒÈçºÎÊÊÅäiPhone X£¬ÈýÐÇS8µÈÈ«ÃæÆÁÊÖ»ú¡£ÁíÍ⣬»á½²½âreact-navigationÔÚÈ«ÃæÆÁÉϵÄÓ¦Óã¬Õ½Ú×îºó»á½Ì´ó¼ÒÈçºÎÈ¥×Ô¶¨ÒåÒ»¸öÈÝÆ÷×é¼þ¡£

ÏÂÔØµØÖ·£º
Óοͣ¬Èç¹ûÄúÒª²é¿´±¾ÌûÒþ²ØÄÚÈÝÇë»Ø¸´

¸ü¶àÌû×ÓÍÆ¼ö

»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

0

Ö÷Ìâ

1438

»ØÌû

3410

»ý·Ö

ÂÛ̳ԪÀÏ

Rank: 6Rank: 6

»ý·Ö
3410
QQ
·¢±íÓÚ 2018-6-27 11:07:28 | ÏÔʾȫ²¿Â¥²ã
0000123123
»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

0

Ö÷Ìâ

1Íò

»ØÌû

3Íò

»ý·Ö

ÌåÑéVIP

Rank: 7Rank: 7Rank: 7

»ý·Ö
31410
·¢±íÓÚ 2019-2-18 14:18:43 | ÏÔʾȫ²¿Â¥²ã
http://www.xunibaoku.com/forum.php?mod=post&action=reply&fid=355&tid=34329

»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

QQ|Archiver|ÊÖ»ú°æ|ü\Óü¿Æ¼¼Íø

GMT+8, 2025-11-30 00:58 , Processed in 0.164053 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

¿ìËٻظ´ ·µ»Ø¶¥²¿ ·µ»ØÁбí